diff options
author | msvensson@pilot.blaudden <> | 2007-04-03 13:36:58 +0200 |
---|---|---|
committer | msvensson@pilot.blaudden <> | 2007-04-03 13:36:58 +0200 |
commit | 3efa2df72155d43457cebc5665288353d0999fda (patch) | |
tree | 5251e307e1f807dcbd894d933da3d8bcd0a9e163 /mysql-test/t/sp.test | |
parent | 00905b20a45ac1008dfb4ea822e6fe1984fb14bb (diff) | |
download | mariadb-git-3efa2df72155d43457cebc5665288353d0999fda.tar.gz |
Replace not portable "--system rm" with --remove_file
Diffstat (limited to 'mysql-test/t/sp.test')
-rw-r--r-- | mysql-test/t/sp.test | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/mysql-test/t/sp.test b/mysql-test/t/sp.test index d49f36fd6d7..fbca496eaf2 100644 --- a/mysql-test/t/sp.test +++ b/mysql-test/t/sp.test @@ -706,9 +706,11 @@ begin insert into test.t1 values (concat(x, "2"), y+2); end| ---system rm -f $MYSQLTEST_VARDIR/tmp/spout +# Remove spout file if it exists +--error 0,1 +--remove_file $MYSQLTEST_VARDIR/tmp/spout call into_outfile("ofile", 1)| ---system rm -f $MYSQLTEST_VARDIR/tmp/spout +--remove_file $MYSQLTEST_VARDIR/tmp/spout delete from t1| drop procedure into_outfile| @@ -723,9 +725,11 @@ begin insert into test.t1 values (concat(x, "2"), y+2); end| ---system rm -f $MYSQLTEST_VARDIR/tmp/spdump +# Remove spdump file if it exists +--error 0,1 +--remove_file $MYSQLTEST_VARDIR/tmp/spdump call into_dumpfile("dfile", 1)| ---system rm -f $MYSQLTEST_VARDIR/tmp/spdump +--remove_file $MYSQLTEST_VARDIR/tmp/spdump delete from t1| drop procedure into_dumpfile| |