diff options
author | unknown <msvensson@pilot.blaudden> | 2007-02-19 15:46:32 +0100 |
---|---|---|
committer | unknown <msvensson@pilot.blaudden> | 2007-02-19 15:46:32 +0100 |
commit | f94e77511a05907966e666d08df9b83f205a9f02 (patch) | |
tree | a30b383360ed58997a7da712aaf0c92376fabb00 /mysql-test/t/csv.test | |
parent | dcd3b8d4b6277efeb90bc585e8407c7718dfc80b (diff) | |
download | mariadb-git-f94e77511a05907966e666d08df9b83f205a9f02.tar.gz |
Replace "exec rm" with remove_file and "exec touch" with "write_file"
Diffstat (limited to 'mysql-test/t/csv.test')
-rw-r--r-- | mysql-test/t/csv.test | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mysql-test/t/csv.test b/mysql-test/t/csv.test index 830bdaa3cf0..687f3ea3918 100644 --- a/mysql-test/t/csv.test +++ b/mysql-test/t/csv.test @@ -1398,12 +1398,14 @@ drop table t1; create table bug15205 (val int(11) default null) engine=csv; create table bug15205_2 (val int(11) default null) engine=csv; ---exec rm $MYSQLTEST_VARDIR/master-data/test/bug15205.CSV +--remove_file $MYSQLTEST_VARDIR/master-data/test/bug15205.CSV # system error (can't open the datafile) --error ER_GET_ERRNO select * from bug15205; select * from bug15205_2; ---exec touch $MYSQLTEST_VARDIR/master-data/test/bug15205.CSV +# Create empty file +--write_file $MYSQLTEST_VARDIR/master-data/test/bug15205.CSV +EOF select * from bug15205; drop table bug15205; drop table bug15205_2; |