mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
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:
parent
59958be558
commit
5ebc51cc70
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue