mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
OpenSSL tests added
This commit is contained in:
parent
921cae2c5c
commit
d02c295d1c
7 changed files with 31 additions and 4 deletions
2
mysql-test/include/have_openssl.inc
Normal file
2
mysql-test/include/have_openssl.inc
Normal file
|
@ -0,0 +1,2 @@
|
|||
-- require r/have_ssl.require
|
||||
show variables like "have_ssl";
|
2
mysql-test/r/have_openssl.require
Normal file
2
mysql-test/r/have_openssl.require
Normal file
|
@ -0,0 +1,2 @@
|
|||
Variable_name Value
|
||||
have_ssl YES
|
16
mysql-test/r/openssl_2.result
Normal file
16
mysql-test/r/openssl_2.result
Normal file
|
@ -0,0 +1,16 @@
|
|||
Variable_name Value
|
||||
SSL_CTX_sess_accept 0
|
||||
SSL_CTX_sess_accept_good 0
|
||||
SSL_CTX_sess_accept_renegotiate 0
|
||||
SSL_CTX_sess_cb_hits 0
|
||||
SSL_CTX_sess_number 0
|
||||
SSL_CTX_get_session_cache_mode SERVER
|
||||
SSL_CTX_sess_get_cache_size 128
|
||||
SSL_CTX_get_verify_mode 7
|
||||
SSL_CTX_get_verify_depth 4294967295
|
||||
SSL_get_verify_mode 0
|
||||
SSL_get_verify_depth 0
|
||||
SSL_session_reused 0
|
||||
SSL_get_version
|
||||
SSL_get_cipher
|
||||
SSL_get_default_timeout 0
|
5
mysql-test/t/openssl_1.test
Normal file
5
mysql-test/t/openssl_1.test
Normal file
|
@ -0,0 +1,5 @@
|
|||
# We test openssl. Result set is optimized to be compiled with --with-openssl but
|
||||
# SSL is swithced off in some reason
|
||||
|
||||
SHOW STATUS LIKE 'SSL%';
|
||||
|
6
mysql-test/t/openssl_2.test
Normal file
6
mysql-test/t/openssl_2.test
Normal file
|
@ -0,0 +1,6 @@
|
|||
-- source include/have_openssl.inc
|
||||
|
||||
# We want to test everything with SSL turned on.
|
||||
|
||||
SHOW STATUS LIKE 'SSL%';
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
|
||||
|
||||
SHOW STATUS LIKE 'SSL%';
|
||||
|
Loading…
Reference in a new issue