Fix openssl_2 test so it passes or fails. (It was being reported
as [skipped], even when run explicitly.) mysql-test/include/have_openssl_2.inc: There is no such variable as SSL_get_cipher. mysql-test/r/have_openssl_2.require: Require file required garbage. Fix to require something sensible. mysql-test/r/openssl_2.result: Add output of SHOW STATUS to test result. mysql-test/t/openssl_2.test: Use actual lettercase of SSL status variables. (Test will work with uppercase, but there's no reason not to use the actual lettercase.)
This commit is contained in:
parent
7770c16770
commit
7a3a6aebc7
@ -1,4 +1,4 @@
|
|||||||
-- require r/have_openssl_2.require
|
-- require r/have_openssl_2.require
|
||||||
disable_query_log;
|
disable_query_log;
|
||||||
SHOW STATUS LIKE "SSL_get_cipher";
|
SHOW STATUS LIKE "Ssl_cipher";
|
||||||
enable_query_log;
|
enable_query_log;
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
Variable_name Value
|
Variable_name Value
|
||||||
jkhjkhfs
|
Ssl_cipher EDH-RSA-DES-CBC3-SHA
|
||||||
|
@ -1,2 +1,25 @@
|
|||||||
SHOW STATUS LIKE 'SSL%';
|
SHOW STATUS LIKE 'Ssl%';
|
||||||
Variable_name Value
|
Variable_name Value
|
||||||
|
Ssl_accepts 1
|
||||||
|
Ssl_finished_accepts 1
|
||||||
|
Ssl_finished_connects 0
|
||||||
|
Ssl_accept_renegotiates 0
|
||||||
|
Ssl_connect_renegotiates 0
|
||||||
|
Ssl_callback_cache_hits 0
|
||||||
|
Ssl_session_cache_hits 0
|
||||||
|
Ssl_session_cache_misses 0
|
||||||
|
Ssl_session_cache_timeouts 0
|
||||||
|
Ssl_used_session_cache_entries 1
|
||||||
|
Ssl_client_connects 0
|
||||||
|
Ssl_session_cache_overflows 0
|
||||||
|
Ssl_session_cache_size 128
|
||||||
|
Ssl_session_cache_mode SERVER
|
||||||
|
Ssl_sessions_reused 0
|
||||||
|
Ssl_ctx_verify_mode 7
|
||||||
|
Ssl_ctx_verify_depth 4294967295
|
||||||
|
Ssl_verify_mode 7
|
||||||
|
Ssl_verify_depth 4294967295
|
||||||
|
Ssl_version TLSv1
|
||||||
|
Ssl_cipher EDH-RSA-DES-CBC3-SHA
|
||||||
|
Ssl_cipher_list
|
||||||
|
Ssl_default_timeout 7200
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# We want to test everything with SSL turned on.
|
# We want to test everything with SSL turned on.
|
||||||
-- source include/have_openssl_2.inc
|
-- source include/have_openssl_2.inc
|
||||||
|
|
||||||
SHOW STATUS LIKE 'SSL%';
|
SHOW STATUS LIKE 'Ssl%';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user