From 7b77b4c7bb23195f712f8fe6141082e0c468b042 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 12 Jan 2006 18:19:57 +0100 Subject: [PATCH] Use "test ! -s" to check that file does not exist --- mysql-test/t/mysqltest.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql-test/t/mysqltest.test b/mysql-test/t/mysqltest.test index ee309fbd7c9..5cf49185c30 100644 --- a/mysql-test/t/mysqltest.test +++ b/mysql-test/t/mysqltest.test @@ -1037,7 +1037,7 @@ 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 2>&1 # The .out file should be non existent ---exec test ! -e $MYSQL_TEST_DIR/var/tmp/bug11731.out +--exec test ! -s $MYSQL_TEST_DIR/var/tmp/bug11731.out drop table t1;