mysql5/mysql-5.7.27/mysql-test/t/installdb-bad-cipher.test

22 lines
875 B
Plaintext

--source include/not_embedded.inc
--source include/not_windows.inc
let $error_log= $MYSQLTEST_VARDIR/log/my_restart.err;
--error 0,1
--remove_file $error_log
# $error_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= $error_log;
--echo # Execution of mysql_install_db with corrupted ciphertext starts............
--error 1
--exec $MYSQL_INSTALL_DB --no-defaults --mysqld-file=$MYSQLD --datadir=$DDIR --basedir=$BASEDIR --login-file=../mysql-test/std_data/mylogin-bad-cipher.cnf --loose-console > $error_log 2>&1
--echo # Execution of mysql_install_db ends..............
# Search for the reason for the failure
let SEARCH_PATTERN= Failed to decrypt the login config file;
--source include/search_pattern_in_file.inc
--remove_file $error_log