Fix hardcoded /tmp path (which causes problems when running multiple

tests on a single machine) to use $MYSQLTEST_VARDIR/tmp instead.
This commit is contained in:
knielsen@rt.int.sifira.dk 2006-07-04 22:37:32 +02:00
parent 59958be558
commit 5ebc51cc70
2 changed files with 3 additions and 2 deletions

View file

@ -102,7 +102,7 @@ show variables like 'general_log_file';
Variable_name Value
general_log_file #
set global general_log= OFF;
set global general_log_file='/tmp/log.master';
set global general_log_file='MYSQLTEST_VARDIR/tmp/log.master';
set global general_log= ON;
create table t1(f1 int);
drop table t1;

View file

@ -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;