summaryrefslogtreecommitdiff
path: root/mysql-test/t
diff options
context:
space:
mode:
authorunknown <tsmith@ramayana.hindu.god>2008-01-25 16:00:15 -0700
committerunknown <tsmith@ramayana.hindu.god>2008-01-25 16:00:15 -0700
commit9dbd3877b5eb48b5a252dedbbbc61a722324e782 (patch)
tree3b5320ce464b39115a759026b45a13897479fb50 /mysql-test/t
parent893d98fb4a7f0baa62923f7bf42b43c85b6f7f68 (diff)
downloadmariadb-git-9dbd3877b5eb48b5a252dedbbbc61a722324e782.tar.gz
Un-break test case on Windows, for bug #25347
mysql-test/t/mysqlcheck.test: Use --remove_file and --write_file instead of --exec rm and --exec touch.
Diffstat (limited to 'mysql-test/t')
-rw-r--r--mysql-test/t/mysqlcheck.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/mysql-test/t/mysqlcheck.test b/mysql-test/t/mysqlcheck.test
index 532e34d1980..c2e194fd8f2 100644
--- a/mysql-test/t/mysqlcheck.test
+++ b/mysql-test/t/mysqlcheck.test
@@ -48,8 +48,9 @@ use d_bug25347;
create table t_bug25347 (a int);
create view v_bug25347 as select * from t_bug25347;
--echo removing and creating
---exec rm $MYSQLTEST_VARDIR/master-data/d_bug25347/t_bug25347.MYI;
---exec touch $MYSQLTEST_VARDIR/master-data/d_bug25347/t_bug25347.MYI;
+--remove_file $MYSQLTEST_VARDIR/master-data/d_bug25347/t_bug25347.MYI
+--write_file $MYSQLTEST_VARDIR/master-data/d_bug25347/t_bug25347.MYI
+EOF
--exec $MYSQL_CHECK --repair --databases d_bug25347
drop view v_bug25347;
drop table t_bug25347;