From ace34f07964075fec20d019d46479e70c866f428 Mon Sep 17 00:00:00 2001 From: Magnus Svensson Date: Fri, 5 Sep 2008 16:22:02 +0200 Subject: [PATCH] Bug #39071 mtr's check-testcase reports extra failures for correct test cases --- mysql-test/mysql-test-run.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index f3b3c66e822..c59ff79b5ff 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -2762,7 +2762,6 @@ sub start_run_one ($$) { sub run_on_all($$) { my ($tinfo, $run)= @_; - my $tname= $tinfo->{name}; # Start the mysqltest processes in parallel to save time # also makes it possible to wait for any process to exit during the check @@ -3181,7 +3180,6 @@ sub start_check_warnings ($$) { my $mysqld= shift; my $name= "warnings-".$mysqld->name(); - my $tname= $tinfo->{name}; my $args; mtr_init_args(\$args); @@ -4120,7 +4118,9 @@ sub start_check_testcase ($$$) { my $mysqld= shift; my $name= "check-".$mysqld->name(); - my $tname= $tinfo->{name}; + # Replace dots in name with underscore to avoid that mysqltest + # misinterpret's what the filename extension is :( + $name=~ s/\./_/g; my $args; mtr_init_args(\$args);