Skip to content

Commit 9b30889

Browse files
gkodinovdahlerlend
authored andcommitted
Addendum to bug #30263773: fix the test suite to sustain nonempty --secure-file-priv default value
RB#23405 Extended the test arguments so they actually test the real fix. Added the --secure-file-priv="" default for the test to operate on.
1 parent d59ecd6 commit 9b30889

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mysql-test/t/persisted_variables_bugs_fast.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77

88
--echo # Must contain an error about failing to set a data dir
99
--error 1
10-
--exec $MYSQLD --no-defaults --datadir =x > $LOG_FILE 2>&1
10+
--exec $MYSQLD --no-defaults --secure-file-priv="" --datadir =xyz > $LOG_FILE 2>&1
1111

1212
--let $assert_file = $LOG_FILE
1313
--let $assert_text = error log must contain failed to set data dir error
14-
--let $assert_select = \[ERROR\] \[MY-[0-9][0-9]*\] \[Server\] Failed to set datadir to .*=x.*
14+
--let $assert_select = \[ERROR\] \[MY-[0-9][0-9]*\] \[Server\] Failed to set datadir to .*=xyz.*
1515
--let $assert_count = 1
1616
--source include/assert_grep.inc
1717

0 commit comments

Comments
 (0)