mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 11:57:38 +02:00
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.
This commit is contained in:
parent
24fe747024
commit
404e4b802c
12 changed files with 49 additions and 40 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue