Commit 1a1bbf2d authored by msvensson@pilot.(none)'s avatar msvensson@pilot.(none)
Browse files

Remove unportable use of "system rm"

parent 2028c2b6
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1051,14 +1051,14 @@ eval set storage_engine=$default;
# Test how DROP TABLE works if the index or data file doesn't exists

create table t1 (a int) engine=myisam;
system rm $MYSQLTEST_VARDIR/master-data/test/t1.MYI ;
remove_file $MYSQLTEST_VARDIR/master-data/test/t1.MYI ;
drop table if exists t1;
create table t1 (a int) engine=myisam;
system rm $MYSQLTEST_VARDIR/master-data/test/t1.MYI ;
remove_file $MYSQLTEST_VARDIR/master-data/test/t1.MYI ;
--error 1051,6
drop table t1;
create table t1 (a int) engine=myisam;
system rm $MYSQLTEST_VARDIR/master-data/test/t1.MYD ;
remove_file $MYSQLTEST_VARDIR/master-data/test/t1.MYD ;
--error 1105,6,29
drop table t1;
--error 1051