mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 03:47:17 +02:00
Fix for bug #15605: 5.0.17 test case 'mysqltest' failure.
mysql-test/t/mysqltest.test: Fix for bug #15605: 5.0.17 test case 'mysqltest' failure. - use 'test -s' instead of 'cat' to get assured 1 (cat returns >0 in case of errors)
This commit is contained in:
parent
8f634dfc20
commit
6abb702cf9
1 changed files with 2 additions and 2 deletions
|
|
@ -968,9 +968,9 @@ drop table t1;
|
|||
|
||||
--error 1
|
||||
--exec $MYSQL_TEST --record -x $MYSQL_TEST_DIR/var/tmp/bug11731.sql -R $MYSQL_TEST_DIR/var/tmp/bug11731.out
|
||||
# The .out file should be empty, cat will fail!
|
||||
# The .out file should be empty
|
||||
--error 1
|
||||
--exec cat $MYSQL_TEST_DIR/var/tmp/bug11731.out
|
||||
--exec test -s $MYSQL_TEST_DIR/var/tmp/bug11731.out
|
||||
drop table t1;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue