summaryrefslogtreecommitdiff
path: root/mysql-test/t/symlink.test
diff options
context:
space:
mode:
authorPatrick Crews <patrick.crews@sun.com>2008-09-20 02:21:28 -0400
committerPatrick Crews <patrick.crews@sun.com>2008-09-20 02:21:28 -0400
commit404e4b802cc15197028f29a38f522e2711366c02 (patch)
treefd73369b0d9c0c567fcc1191a96a9ef6c799568b /mysql-test/t/symlink.test
parent24fe7470247f964cc771ef477b44852d8c632aa2 (diff)
downloadmariadb-git-404e4b802cc15197028f29a38f522e2711366c02.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/symlink.test')
-rw-r--r--mysql-test/t/symlink.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/t/symlink.test b/mysql-test/t/symlink.test
index 9478abe1224..8ce1bca1ec1 100644
--- a/mysql-test/t/symlink.test
+++ b/mysql-test/t/symlink.test
@@ -185,7 +185,8 @@ drop table t1;
#
# Protect ourselves from data left in tmp/ by a previos possibly failed
# test
---system rm -f $MYSQLTEST_VARDIR/tmp/t1.*
+--error 0,1
+--remove_file $MYSQLTEST_VARDIR/tmp/t1.*
--disable_query_log
eval prepare stmt from "create table t1 (c char(10)) data directory='$MYSQLTEST_VARDIR/tmp'";
--enable_query_log