diff options
author | unknown <ramil@mysql.com> | 2005-12-09 20:18:25 +0400 |
---|---|---|
committer | unknown <ramil@mysql.com> | 2005-12-09 20:18:25 +0400 |
commit | 6abb702cf97ca9b84673c4e4ce907bf592270803 (patch) | |
tree | 80a5d328096e5967731e737913601d2b3b491277 /mysql-test | |
parent | 8f634dfc20852197cbe18a8dc5aa5a464de5f1b5 (diff) | |
download | mariadb-git-6abb702cf97ca9b84673c4e4ce907bf592270803.tar.gz |
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)
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/t/mysqltest.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/mysqltest.test b/mysql-test/t/mysqltest.test index 8ccf2cb0c7a..440a7787985 100644 --- a/mysql-test/t/mysqltest.test +++ b/mysql-test/t/mysqltest.test @@ -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; |