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 | 92c77183d90cd140d61a2c961e5fcaac08c6b2c8 (patch) | |
tree | 80a5d328096e5967731e737913601d2b3b491277 /mysql-test | |
parent | f89e2146fb2c2a5c0da20e2dbe969c056f9939da (diff) | |
download | mariadb-git-92c77183d90cd140d61a2c961e5fcaac08c6b2c8.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; |