Testsuite: Fix use-of-undef
authorJeremy Harris <jgh146exb@wizmail.org>
Sun, 1 Dec 2019 14:49:26 +0000 (14:49 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Sun, 1 Dec 2019 14:49:26 +0000 (14:49 +0000)
test/runtest

index d9cb51d..25f9b95 100755 (executable)
@@ -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]$/);
     }