diff options
author | msvensson@neptunus.(none) <> | 2005-10-04 15:43:55 +0200 |
---|---|---|
committer | msvensson@neptunus.(none) <> | 2005-10-04 15:43:55 +0200 |
commit | cb96f195c8ec86236b1673adc0db5d32e08bd957 (patch) | |
tree | 26f143bdced58d5853d938349663652aaa3fcc4d /mysql-test/t/ssl_compress.test | |
parent | 7de902fcefc0359bde4492b1ff804aefc5c9628b (diff) | |
download | mariadb-git-cb96f195c8ec86236b1673adc0db5d32e08bd957.tar.gz |
Improved testing of ssl and compression
- Added show status variable "compression" for checking that compression is turned on.
- Updated show status variable "have_openssl" to be set to DISABLED if server supports ssl but it's not turned on to accept incoming ssl connections.
- Setup server to accept ssl connections from clients ig that is supported by server
- New tests
- ssl - Run with ssl turned on
- ssl_compress - Run with ssl and compression turned on
- compress - Run with compression turned in
- Updated test
- openssl_1, rpl_openssl1 - Changed to run if server supports ssl
Diffstat (limited to 'mysql-test/t/ssl_compress.test')
-rw-r--r-- | mysql-test/t/ssl_compress.test | 25 |
1 files changed, 25 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..4a0d3a254ff --- /dev/null +++ b/mysql-test/t/ssl_compress.test @@ -0,0 +1,25 @@ +# Turn on compression between the client and server +# and run a number of tests + +-- source include/have_openssl.inc +-- source include/have_compress.inc + +enable_compress; +enable_ssl; + +# Reconnect to turn ssl and compress on for +# default connection +disconnect default; +connect (default,localhost,root,,); + +# 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 + +disable_compress; +disable_ssl; |