mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
mysqltest: support MARIADB_OPT_RESTRICTED_AUTH
C/C 3.4 disables mysql_old_password by default, so add an option for the `connect` command to support specifying allowed authentication plugins (MARIADB_OPT_RESTRICTED_AUTH). use it to enable mysql_old_password when needed for testing
This commit is contained in:
@ -19,7 +19,7 @@ set global debug_dbug='+d,auth_invalid_plugin';
|
||||
create user 'bad' identified by 'worse';
|
||||
--replace_regex /loaded: [^\n]*/loaded: invalid plugin name/
|
||||
--error 1
|
||||
--exec $MYSQL --default-auth=mysql_old_password --user=bad --password=worse 2>&1
|
||||
--exec $MYSQL --default-auth=ed25519 --user=bad --password=worse 2>&1
|
||||
set global debug_dbug=@old_dbug;
|
||||
drop user bad;
|
||||
|
||||
|
Reference in New Issue
Block a user