summaryrefslogtreecommitdiff
path: root/mysql-test/t/upgrade.test
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-03-26 16:47:58 +0200
committerGeorgi Kodinov <joro@sun.com>2009-03-26 16:47:58 +0200
commit9b1ee3c67dbfd72ccfe4497fbb0115c4553a5069 (patch)
treede26451ece2254a12cb8d5080a7da38c9961d437 /mysql-test/t/upgrade.test
parentd9a9f5c71f4da5ea44d1b4fc3cf22c9ab52b6d5f (diff)
downloadmariadb-git-9b1ee3c67dbfd72ccfe4497fbb0115c4553a5069.tar.gz
removed an unix-ism in a test
Diffstat (limited to 'mysql-test/t/upgrade.test')
-rw-r--r--mysql-test/t/upgrade.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/mysql-test/t/upgrade.test b/mysql-test/t/upgrade.test
index a96d1f47cb2..437b0f47cc0 100644
--- a/mysql-test/t/upgrade.test
+++ b/mysql-test/t/upgrade.test
@@ -53,7 +53,9 @@ drop table `txu#p#p1`;
#
let $MYSQLD_DATADIR= `select @@datadir`;
-system cp $MYSQL_TEST_DIR/std_data/old_table-323.frm $MYSQLD_DATADIR/test/t1.frm;
+--error 0,1
+--remove_file $MYSQLD_DATADIR/test/t1.frm
+--copy_file std_data/old_table-323.frm $MYSQLD_DATADIR/test/t1.frm
truncate t1;
drop table t1;