From 1477005f2e352b6c4a25fd4706b7dc808d0bb70b Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 1 Dec 2019 14:49:26 +0000 Subject: [PATCH] Testsuite: Fix use-of-undef --- test/runtest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtest b/test/runtest index d9cb51da4..25f9b9571 100755 --- a/test/runtest +++ b/test/runtest @@ -1537,7 +1537,7 @@ if (! -e $sf_current) log_failure($log_failed_filename, $testno, $rf); log_test($log_summary_filename, $testno, 'F') if ($force_continue); } - return 1 if /^c$/i && $rf !~ /paniclog/ && $rsf !~ /paniclog/; + return 1 if /^c$/i && $rf !~ /paniclog/ && (!defined $rsf || $rsf !~ /paniclog/); last if (/^[sc]$/); } -- 2.25.1