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