mariadb/mysql-test/t/ssl.test

28 lines
688 B
Text
Raw Normal View History

# Turn on ssl between the client and server
# and run a number of tests
-- source include/have_ssl_communication.inc
# 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);
# 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-13 11:28:06 +02:00
# Check ssl turned on
SHOW STATUS LIKE 'Ssl_cipher';
connection default;
disconnect ssl_con;
# Wait till all disconnects are completed
--source include/wait_until_count_sessions.inc
## This test file is for testing encrypted communication only, not other
## encryption routines that the SSL library happens to provide!