mysql5/mysql-5.7.27/mysql-test/suite/auth_sec/t/install_keyring_file.test

24 lines
1.2 KiB
Plaintext

--disable_ps_protocol
--disable_warnings
--source include/not_embedded.inc
call mtr.add_suppression("keyring_file initialization failure. Please check if the keyring_file_data points to readable keyring file or keyring file can be created in the specified location. The keyring_file will stay unusable until correct path to the keyring file gets provided");
call mtr.add_suppression("Could not create keyring directory The keyring_file will stay unusable until correct path to the keyring directory gets provided");
call mtr.add_suppression("Error while loading keyring content. The keyring might be malformed");
call mtr.add_suppression("\\[ERROR\\] Plugin keyring_file reported: 'File .*keyring' not found .*");
--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
--error ER_UNKNOWN_SYSTEM_VARIABLE
eval SET @@global.keyring_file_data= '$MYSQL_TMP_DIR/new_keyring_file';
--replace_regex /\.dll/.so/
eval INSTALL PLUGIN keyring_file SONAME '$KEYRING_PLUGIN';
--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
eval SET @@global.keyring_file_data= '$MYSQL_TMP_DIR/new_keyring_file';
#cleanup
--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
eval SET @@global.keyring_file_data= '$MYSQL_TMP_DIR/mysecret_keyring';
UNINSTALL PLUGIN keyring_file;