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 d9cb51da4af302f317a68bd9e46e75640f11106a..25f9b95718368ce86fe7b1a87174af5c39606913 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]$/);
     }