mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fix typos in mysql-test/
This commit is contained in:
committed by
Daniel Black
parent
40c5b62531
commit
1b95e46524
@@ -37,12 +37,12 @@ EOF
|
||||
|
||||
--echo #
|
||||
--echo # without -p. up to three questions are asked on the stdin.
|
||||
--echo # athentication is successful, the correct pasword is on the third line
|
||||
--echo # authentication is successful, the correct password is on the third line
|
||||
--echo #
|
||||
--exec $MYSQL_TEST -u test_dialog < $MYSQLTEST_VARDIR/tmp/dialog_good.txt
|
||||
|
||||
--echo #
|
||||
--echo # athentication is unsuccessful, first three lines are all wrong
|
||||
--echo # authentication is unsuccessful, first three lines are all wrong
|
||||
--echo #
|
||||
--error 1
|
||||
--exec $MYSQL_TEST -u test_dialog < $MYSQLTEST_VARDIR/tmp/dialog_bad.txt
|
||||
|
@@ -25,30 +25,30 @@ select user(), current_user(), database();
|
||||
EOF
|
||||
|
||||
--echo #
|
||||
--echo # athentication is successful, challenge/pin are ok
|
||||
--echo # authentication is successful, challenge/pin are ok
|
||||
--echo # note that current_user() differs from user()
|
||||
--echo #
|
||||
--exec $MYSQL_TEST -u test_pam < $MYSQLTEST_VARDIR/tmp/pam_good.txt
|
||||
|
||||
--echo #
|
||||
--echo # athentication is unsuccessful
|
||||
--echo # authentication is unsuccessful
|
||||
--echo #
|
||||
--error 1
|
||||
--exec $MYSQL_TEST -u test_pam < $MYSQLTEST_VARDIR/tmp/pam_bad.txt
|
||||
|
||||
--echo #
|
||||
--echo # athentication is unsuccessful
|
||||
--echo # authentication is unsuccessful
|
||||
--echo #
|
||||
--error 1
|
||||
--exec $MYSQL_TEST -u test_pam < $MYSQLTEST_VARDIR/tmp/pam_ugly.txt
|
||||
|
||||
--echo #
|
||||
--echo # athentication is successful
|
||||
--echo # authentication is successful
|
||||
--echo #
|
||||
--exec $MYSQL_TEST -u test_pam -pgoodpassword < $MYSQLTEST_VARDIR/tmp/pam_good2.txt
|
||||
|
||||
--echo #
|
||||
--echo # athentication is unsuccessful
|
||||
--echo # authentication is unsuccessful
|
||||
--echo #
|
||||
--error 1
|
||||
--exec $MYSQL_TEST -u test_pam -pbadpassword < $MYSQLTEST_VARDIR/tmp/pam_good2.txt
|
||||
@@ -89,14 +89,14 @@ create user PAM_TEST identified via pam using 'mariadb_mtr';
|
||||
grant all on test.* to PAM_TEST;
|
||||
|
||||
--echo #
|
||||
--echo # athentication is unsuccessful
|
||||
--echo # authentication is unsuccessful
|
||||
--echo #
|
||||
--error 1
|
||||
--exec $MYSQL_TEST -u PAM_TEST < $MYSQLTEST_VARDIR/tmp/pam_good.txt
|
||||
|
||||
set global pam_winbind_workaround=1;
|
||||
--echo #
|
||||
--echo # athentication is successful
|
||||
--echo # authentication is successful
|
||||
--echo #
|
||||
--exec $MYSQL_TEST -u PAM_TEST < $MYSQLTEST_VARDIR/tmp/pam_good.txt
|
||||
|
||||
|
@@ -19,25 +19,25 @@ select user(), current_user(), database();
|
||||
EOF
|
||||
|
||||
--echo #
|
||||
--echo # athentication is successful, challenge/pin are ok
|
||||
--echo # authentication is successful, challenge/pin are ok
|
||||
--echo # note that current_user() differs from user()
|
||||
--echo #
|
||||
--exec $MYSQL_TEST -u test_pam < $MYSQLTEST_VARDIR/tmp/pam_good.txt
|
||||
|
||||
--echo #
|
||||
--echo # athentication is unsuccessful
|
||||
--echo # authentication is unsuccessful
|
||||
--echo #
|
||||
--error 1
|
||||
--exec $MYSQL_TEST -u test_pam < $MYSQLTEST_VARDIR/tmp/pam_bad.txt
|
||||
|
||||
--echo #
|
||||
--echo # athentication is successful
|
||||
--echo # authentication is successful
|
||||
--echo #
|
||||
--error 0
|
||||
--exec $MYSQL_TEST -u test_pam -pgoodpassword < $MYSQLTEST_VARDIR/tmp/pam_good2.txt
|
||||
|
||||
--echo #
|
||||
--echo # athentication is unsuccessful
|
||||
--echo # authentication is unsuccessful
|
||||
--echo #
|
||||
--error 1
|
||||
--exec $MYSQL_TEST -u test_pam -pbadpassword < $MYSQLTEST_VARDIR/tmp/pam_good2.txt
|
||||
|
@@ -8,7 +8,7 @@ install soname "password_reuse_check";
|
||||
|
||||
set global password_reuse_check_interval= 0;
|
||||
|
||||
--echo # Default value (sould be unlimited i.e. 0)
|
||||
--echo # Default value (should be unlimited i.e. 0)
|
||||
SHOW GLOBAL VARIABLES like "password_reuse_check%";
|
||||
|
||||
--echo # insert user
|
||||
@@ -26,7 +26,7 @@ show warnings;
|
||||
#--error ER_NOT_VALID_PASSWORD
|
||||
#SET PASSWORD FOR user_name@localhost = PASSWORD('test_pwd');
|
||||
|
||||
--echo # check exparation
|
||||
--echo # check expiration
|
||||
|
||||
set global password_reuse_check_interval= 10;
|
||||
|
||||
|
@@ -45,7 +45,7 @@ CREATE OR REPLACE SERVER s1 FOREIGN DATA WRAPPER mariadb OPTIONS ( PASSWORD "pwd
|
||||
--source include/search_pattern_in_file.inc
|
||||
--echo # pattern should not be found
|
||||
|
||||
--echo # cleaunup
|
||||
--echo # cleanup
|
||||
DROP SERVER s1;
|
||||
DROP USER u1;
|
||||
DROP USER u2;
|
||||
|
Reference in New Issue
Block a user