polardbxengine/mysql-test/suite/xengine_auth_sec/t/named_pipe_ssl.test

12 lines
709 B
Plaintext

--source include/windows.inc
--echo # pipe protocol with ssl default (enabled).
--exec $MYSQL --user=root --host=localhost --protocol=pipe -e "SHOW STATUS like 'Ssl_cipher'"
--echo # pipe protocol with ssl enforced.
error 1;
--exec $MYSQL --user=root --host=localhost --ssl-mode=REQUIRED --protocol=pipe
--echo # pipe protocol with ssl disabled.
--exec $MYSQL --user=root --host=localhost --ssl-mode=DISABLED --protocol=pipe -e "SHOW STATUS like 'Ssl_cipher'"
--echo # pipe protocol with ssl certificate option.
--exec $MYSQL --user=root --host=localhost --protocol=pipe --ssl-key=$MYSQL_TEST_DIR/std_data/client-key.pem --ssl-cert=$MYSQL_TEST_DIR/std_data/client-cert.pem -e "SHOW STATUS like 'Ssl_cipher'"