2005-10-04 15:43:55 +02:00
|
|
|
# Turn on compression 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
|
|
|
-- source include/have_compress.inc
|
|
|
|
|
2005-10-13 11:28:06 +02:00
|
|
|
connect (ssl_compress_con,localhost,root,,,,,SSL COMPRESS);
|
2005-10-04 15:43:55 +02:00
|
|
|
|
|
|
|
# Check ssl turned on
|
|
|
|
SHOW STATUS LIKE 'Ssl_cipher';
|
|
|
|
|
|
|
|
# Check compression turned on
|
|
|
|
SHOW STATUS LIKE 'Compression';
|
|
|
|
|
|
|
|
# Source select test case
|
2005-10-13 11:28:06 +02:00
|
|
|
-- source include/common-tests.inc
|
|
|
|
|
|
|
|
# Check ssl turned on
|
|
|
|
SHOW STATUS LIKE 'Ssl_cipher';
|
2005-10-04 15:43:55 +02:00
|
|
|
|
2005-10-13 11:28:06 +02:00
|
|
|
# Check compression turned on
|
|
|
|
SHOW STATUS LIKE 'Compression';
|