Current Path : /home/usr.opt/mysql57/mysql-test/suite/auth_sec/t/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/auth_sec/t/openssl_skip_cert_generation.test |
--source include/no_valgrind_without_big.inc --source include/not_embedded.inc --source include/have_sha256_rsa_auth.inc --echo # --echo # Bug#20963082 : AUTO_GENERATE_CERTS PREREQUISITE TESTING NOT CORRECT --echo # call mtr.add_suppression("Failed to setup SSL"); call mtr.add_suppression("SSL error: SSL_CTX_set_default_verify_paths failed"); # We let our server restart attempts write to the file $server_log. let server_log= $MYSQLTEST_VARDIR/log/mysqld.1.err; # $server_log has to be processed by include/search_pattern_in_file.inc which # contains Perl code requiring that the environment variable SEARCH_FILE points # to this file. let SEARCH_FILE= $server_log; let $restart_file= $MYSQLTEST_VARDIR/tmp/mysqld.1.expect; --echo # Remove some of the auto generated files and restart server with --auto_generate_certs --exec echo "wait" > $restart_file --shutdown_server --source include/wait_until_disconnected.inc perl; my $filetodelete = "$ENV{'MYSQLTEST_VARDIR'}/log/mysqld.1.err"; while (-e $filetodelete) { unlink $filetodelete; sleep 1; } EOF --remove_file $MYSQLTEST_VARDIR/mysqld.1/data/ca.pem --exec echo "restart:--auto_generate_certs --sha256_password_auto_generate_rsa_keys=0" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect --enable_reconnect --source include/wait_until_connected_again.inc --disable_reconnect --echo # Search for : Messages related to skipped generation of SSL certificates and RSA key pair files. let SEARCH_PATTERN= Skipping generation of SSL certificates as certificate files are present in data directory; --source include/search_pattern_in_file.inc --echo # Remove auto generated files and restart --exec echo "wait" > $restart_file --shutdown_server --source include/wait_until_disconnected.inc perl; my $filetodelete = "$ENV{'MYSQLTEST_VARDIR'}/log/mysqld.1.err"; while (-e $filetodelete) { unlink $filetodelete; sleep 1; } EOF --remove_file $MYSQLTEST_VARDIR/mysqld.1/data/ca-key.pem --remove_file $MYSQLTEST_VARDIR/mysqld.1/data/server-cert.pem --remove_file $MYSQLTEST_VARDIR/mysqld.1/data/server-key.pem --remove_file $MYSQLTEST_VARDIR/mysqld.1/data/client-cert.pem --remove_file $MYSQLTEST_VARDIR/mysqld.1/data/client-key.pem --exec echo "restart:--auto_generate_certs=0 --sha256_password_auto_generate_rsa_keys=0" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect --enable_reconnect --source include/wait_until_connected_again.inc --disable_reconnect --echo # Clean-up connection default; --disable_warnings --source include/force_restart.inc --enable_warnings