2005-10-04 15:43:55 +02:00
|
|
|
# Turn on ssl between the client and server
|
|
|
|
# and run a number of tests
|
|
|
|
|
2007-03-05 10:03:42 +01:00
|
|
|
-- source include/have_ssl.inc
|
2005-10-04 15:43:55 +02:00
|
|
|
|
2009-03-03 21:34:18 +01:00
|
|
|
# Save the initial number of concurrent sessions
|
|
|
|
--source include/count_sessions.inc
|
|
|
|
|
2005-10-13 11:28:06 +02:00
|
|
|
connect (ssl_con,localhost,root,,,,,SSL);
|
2005-10-04 15:43:55 +02:00
|
|
|
|
|
|
|
# Check ssl turned on
|
|
|
|
SHOW STATUS LIKE 'Ssl_cipher';
|
|
|
|
|
|
|
|
# Source select test case
|
2005-10-13 11:28:06 +02:00
|
|
|
-- source include/common-tests.inc
|
2005-10-04 15:43:55 +02:00
|
|
|
|
2005-10-13 11:28:06 +02:00
|
|
|
# Check ssl turned on
|
|
|
|
SHOW STATUS LIKE 'Ssl_cipher';
|
2005-10-04 15:43:55 +02:00
|
|
|
|
2009-03-03 21:34:18 +01:00
|
|
|
connection default;
|
|
|
|
disconnect ssl_con;
|
|
|
|
|
|
|
|
# Wait till all disconnects are completed
|
|
|
|
--source include/wait_until_count_sessions.inc
|
2005-10-04 15:43:55 +02:00
|
|
|
|