[exim-cvs] Testsuite: Fix use-of-undef

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] Testsuite: Fix use-of-undef
Gitweb: https://git.exim.org/exim.git/commitdiff/1477005f2e352b6c4a25fd4706b7dc808d0bb70b
Commit:     1477005f2e352b6c4a25fd4706b7dc808d0bb70b
Parent:     30398c0651d976f7ca2713ba9441c117eb37ed1e
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Dec 1 14:49:26 2019 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Dec 1 14:49:26 2019 +0000


    Testsuite: Fix use-of-undef
---
 test/runtest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/test/runtest b/test/runtest
index d9cb51d..25f9b95 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]$/);
     }