mirror of
https://github.com/MariaDB/server.git
synced 2026-04-22 08:15:31 +02:00
MDEV-9969 mysql_install_db error processing ignore_db_dirs.
Check for same directories in the list added.
This commit is contained in:
parent
732e269405
commit
0e50b92482
3 changed files with 30 additions and 3 deletions
|
|
@ -5,4 +5,5 @@ Test non-numeric value passed to number option.
|
|||
Test that bad value for plugin enum option is rejected correctly.
|
||||
Test that --help --verbose works
|
||||
Test that --not-known-option --help --verbose gives error
|
||||
Test that specifying same directory several times handled properly.
|
||||
Done.
|
||||
|
|
|
|||
|
|
@ -56,4 +56,12 @@ mkdir $MYSQLTEST_VARDIR/tmp/mysqld_option_err;
|
|||
--error 2
|
||||
--exec $MYSQLD_BOOTSTRAP_CMD --not-known-option --help --verbose >>$MYSQLTEST_VARDIR/tmp/mysqld_option_err/mysqltest.log 2>&1
|
||||
|
||||
#
|
||||
# MDEV-9969 mysql_install_db error processing ignore_db_dirs.
|
||||
#
|
||||
|
||||
--echo Test that specifying same directory several times handled properly.
|
||||
|
||||
--exec echo "" | $MYSQLD_BOOTSTRAP_CMD --skip-networking --datadir=$MYSQLTEST_VARDIR/tmp/mysqld_option_err --skip-grant-tables --ignore-db-dirs='some_dir' --ignore-db-dirs='some_dir' >>$MYSQLTEST_VARDIR/tmp/mysqld_option_err/mysqltest.log 2>&1
|
||||
|
||||
--echo Done.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue