summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmysql-test/mariadb-test-run.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/mysql-test/mariadb-test-run.pl b/mysql-test/mariadb-test-run.pl
index 1ee515c190a..4fb814a86e3 100755
--- a/mysql-test/mariadb-test-run.pl
+++ b/mysql-test/mariadb-test-run.pl
@@ -509,11 +509,12 @@ sub main {
}
if ( not @$completed ) {
- my $test_name= mtr_grab_file($path_current_testlog);
+ my $test_name= mtr_grab_file($path_testlog);
$test_name =~ s/^CURRENT_TEST:\s//;
+ chomp($test_name);
my $tinfo = My::Test->new(name => $test_name);
$tinfo->{result}= 'MTR_RES_FAILED';
- $tinfo->{logfile}=$path_current_testlog;
+ $tinfo->{comment}=' ';
mtr_report_test($tinfo);
mtr_error("Test suite aborted");
}