summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2011-02-23 02:00:30 +0200
committerMichael Widenius <monty@askmonty.org>2011-02-23 02:00:30 +0200
commite079f3c84a24e67f2da3ae0b0c338d5b79dc9516 (patch)
treef9bc1f4526f18f95d73b730694c9104d422618cd /mysql-test/mysql-test-run.pl
parent988d263e2560b470fb263f37b13f77d5e48e693c (diff)
downloadmariadb-git-e079f3c84a24e67f2da3ae0b0c338d5b79dc9516.tar.gz
Fixed test failure that ended with "There is no group named 'mysqld.10' that can be used to resolve 'port' for test"
mysql-test/lib/My/ConfigFactory.pm: Added test name to error output mysql-test/mysql-test-run.pl: Added testname as part of ConfigFactory for better error message mysql-test/suite/rpl/t/rpl_test_framework.cnf: Added space after # to ensure that ConfigFactory treat comments as comments
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 87526117874..c907b5c4de5 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -3826,6 +3826,7 @@ sub run_testcase ($$) {
# Generate new config file from template
$config= My::ConfigFactory->new_config
( {
+ testname => $tinfo->{name},
basedir => $basedir,
testdir => $glob_mysql_test_dir,
template_path => $tinfo->{template_path},