summaryrefslogtreecommitdiff
path: root/mysql-test/t/log_state.test
diff options
context:
space:
mode:
authorunknown <knielsen@rt.int.sifira.dk>2006-07-04 22:37:32 +0200
committerunknown <knielsen@rt.int.sifira.dk>2006-07-04 22:37:32 +0200
commit758d4bb80bdddbedef89fd7653e01029bdae37a4 (patch)
tree8282d7ad8ca680b0b3d8a0ebe251b041a1541da2 /mysql-test/t/log_state.test
parentbc5c62e5a0614d8e953a2800e868a43673d266bf (diff)
downloadmariadb-git-758d4bb80bdddbedef89fd7653e01029bdae37a4.tar.gz
Fix hardcoded /tmp path (which causes problems when running multiple
tests on a single machine) to use $MYSQLTEST_VARDIR/tmp instead. mysql-test/r/log_state.result: Fix hardcoded /tmp/ path. mysql-test/t/log_state.test: Fix hardcoded /tmp/ path.
Diffstat (limited to 'mysql-test/t/log_state.test')
-rw-r--r--mysql-test/t/log_state.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/t/log_state.test b/mysql-test/t/log_state.test
index 41fbd068dce..6fc0f3421a7 100644
--- a/mysql-test/t/log_state.test
+++ b/mysql-test/t/log_state.test
@@ -80,7 +80,8 @@ set global general_log_file='';
--replace_column 2 #
show variables like 'general_log_file';
set global general_log= OFF;
-set global general_log_file='/tmp/log.master';
+--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
+eval set global general_log_file='$MYSQLTEST_VARDIR/tmp/log.master';
set global general_log= ON;
create table t1(f1 int);
drop table t1;