Skip to content

Commit 97e9314

Browse files
committed
Do not hardcode tests.log as option -s <suffix> may be in use
With -s <suffix> the output log file is actually tests-<suffix>.log.
1 parent b4f5800 commit 97e9314

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

regression/test.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ ($)
421421
close LOG;
422422

423423
if($opt_p && $failures != 0) {
424-
open LOG,"<tests.log" or die "Failed to open tests.log\n";
424+
open LOG,"<$logfile_name" or die "Failed to open $logfile_name\n";
425425

426426
my $printed_this_test = 1;
427427
my $current_test = "";

0 commit comments

Comments
 (0)