diff options
author | Patrick Crews <patrick.crews@sun.com> | 2008-09-20 02:21:28 -0400 |
---|---|---|
committer | Patrick Crews <patrick.crews@sun.com> | 2008-09-20 02:21:28 -0400 |
commit | 2a419a562704c276127991e0c416c8d2745657a7 (patch) | |
tree | fd73369b0d9c0c567fcc1191a96a9ef6c799568b /mysql-test/t/distinct.test | |
parent | 47ba1e8196f79ada6f71d5dd311f7d13db9fcf58 (diff) | |
download | mariadb-git-2a419a562704c276127991e0c416c8d2745657a7.tar.gz |
Bug#38311 Some tests use 'rm' which is not portable
Substituted use of MTR's remove_file function in the tests
Started with 5.0 tree and will clean up any offenders discovered during upmerge.
Diffstat (limited to 'mysql-test/t/distinct.test')
-rw-r--r-- | mysql-test/t/distinct.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/distinct.test b/mysql-test/t/distinct.test index 7310f98cd16..19147a7d9cf 100644 --- a/mysql-test/t/distinct.test +++ b/mysql-test/t/distinct.test @@ -492,12 +492,12 @@ DROP TABLE t1; #SELECT DISTINCT fruit_id, fruit_name INTO OUTFILE #'../tmp/data1.tmp' FROM t1 WHERE fruit_name = 'APPLE'; #LOAD DATA INFILE '../tmp/data1.tmp' INTO TABLE t2; -#--exec rm $MYSQL_TEST_DIR/var/tmp/data1.tmp +#--remove_file $MYSQL_TEST_DIR/var/tmp/data1.tmp # #SELECT DISTINCT @v19:= fruit_id, @v20:= fruit_name INTO OUTFILE #'../tmp/data2.tmp' FROM t1 WHERE fruit_name = 'APPLE'; #LOAD DATA INFILE '../tmp/data2.tmp' INTO TABLE t2; -#--exec rm $MYSQL_TEST_DIR/var/tmp/data2.tmp +#--remove_file $MYSQL_TEST_DIR/var/tmp/data2.tmp # #SELECT @v19, @v20; #SELECT * FROM t2; |