summaryrefslogtreecommitdiff
path: root/mysql-test/t/ssl.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/ssl.test')
-rw-r--r--mysql-test/t/ssl.test21
1 files changed, 21 insertions, 0 deletions
diff --git a/mysql-test/t/ssl.test b/mysql-test/t/ssl.test
new file mode 100644
index 00000000000..d13bec60c2b
--- /dev/null
+++ b/mysql-test/t/ssl.test
@@ -0,0 +1,21 @@
+# Turn on ssl between the client and server
+# and run a number of tests
+
+-- source include/have_openssl.inc
+
+enable_ssl;
+
+# Reconnect to turn ssl on for
+# default connection
+disconnect default;
+connect (default,localhost,root,,);
+
+# Check ssl turned on
+SHOW STATUS LIKE 'Ssl_cipher';
+
+# Source select test case
+-- source t/select.test
+
+disable_ssl;
+
+