summaryrefslogtreecommitdiff
path: root/mysql-test/t/backup.test
diff options
context:
space:
mode:
authormsvensson@neptunus.(none) <>2006-01-24 08:30:54 +0100
committermsvensson@neptunus.(none) <>2006-01-24 08:30:54 +0100
commit09ec2919a1f7b2ef65623ecf62014210f7d74fac (patch)
tree3deb5d61360e5dc82c59792348fac9fabfc410ef /mysql-test/t/backup.test
parent8dce5e198d069079f5fc2b614e003082ce303b2e (diff)
downloadmariadb-git-09ec2919a1f7b2ef65623ecf62014210f7d74fac.tar.gz
Make it possible to run mysql-test-run.pl with default test suite in different vardir.
Diffstat (limited to 'mysql-test/t/backup.test')
-rw-r--r--mysql-test/t/backup.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/mysql-test/t/backup.test b/mysql-test/t/backup.test
index 40a9fa73b60..a3339ecce69 100644
--- a/mysql-test/t/backup.test
+++ b/mysql-test/t/backup.test
@@ -10,10 +10,10 @@ set SQL_LOG_BIN=0;
drop table if exists t1, t2, t3;
--enable_warnings
create table t4(n int);
---replace_result ": 1" ": X" ": 2" ": X" ": 22" ": X" ": 23" ": X" $MYSQL_TEST_DIR MYSQL_TEST_DIR
+--replace_result ": 1" ": X" ": 2" ": X" ": 22" ": X" ": 23" ": X" $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
backup table t4 to '../bogus';
backup table t4 to '../tmp';
---replace_result ": 7" ": X" ": 17" ": X" $MYSQL_TEST_DIR MYSQL_TEST_DIR
+--replace_result ": 7" ": X" ": 17" ": X" $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
backup table t4 to '../tmp';
drop table t4;
restore table t4 from '../tmp';
@@ -23,7 +23,7 @@ create table t1(n int);
insert into t1 values (23),(45),(67);
backup table t1 to '../tmp';
drop table t1;
---replace_result ": 1" ": X" ": 2" ": X" ": 22" ": X" ": 23" ": X" $MYSQL_TEST_DIR MYSQL_TEST_DIR
+--replace_result ": 1" ": X" ": 2" ": X" ": 22" ": X" ": 23" ": X" $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
restore table t1 from '../bogus';
restore table t1 from '../tmp';
select n from t1;
@@ -52,6 +52,6 @@ unlock tables;
connection con1;
reap;
drop table t5;
---system rm $MYSQL_TEST_DIR/var/tmp/t?.*
+--system rm $MYSQLTEST_VARDIR/tmp/t?.*
# End of 4.1 tests