1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

WL#3754 Fix for mtr, added support personal configuration for test cases

This commit is contained in:
skozlov/ksm@mysql.com/virtop.(none)
2008-04-25 22:54:20 +04:00
parent 9ac996e16e
commit 59c15c6730
2 changed files with 12 additions and 1 deletions

View File

@ -748,6 +748,16 @@ sub collect_one_test_case {
# Add slave opts, list of extra option only for slave
# ----------------------------------------------------------------------
process_opts_file($tinfo, "$testdir/$tname-slave.opt", 'slave_opt');
#-----------------------------------------------------------------------
# Check for test specific config file
#-----------------------------------------------------------------------
my $test_cnf_file= "$testdir/$tname.cnf";
if ( -f $test_cnf_file) {
# Specifies the configuration file to use for this test
$tinfo->{'template_path'}= $test_cnf_file;
}
# ----------------------------------------------------------------------
# master sh