[exim-cvs] Testsuite: fix PID-matching for 4-digit case, in …

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Exim Git Commits Mailing List
Ημερομηνία:  
Προς: exim-cvs
Αντικείμενο: [exim-cvs] Testsuite: fix PID-matching for 4-digit case, in munge
Gitweb: https://git.exim.org/exim.git/commitdiff/cbaecb979ad04aeb7eb2fce524facc862496b8b7
Commit:     cbaecb979ad04aeb7eb2fce524facc862496b8b7
Parent:     313dcd5968cd8a02995322fa771f4d56b9f15e49
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Jan 1 09:48:45 2023 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Jan 1 09:48:45 2023 +0000


    Testsuite: fix PID-matching for 4-digit case, in munge
---
 test/runtest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/test/runtest b/test/runtest
index 5ae880e0a..5796cedf2 100755
--- a/test/runtest
+++ b/test/runtest
@@ -1078,7 +1078,7 @@ RESET_AFTER_EXTRA_LINE_READ:
           /x;


     # Lines with a leading pid.  Only handle >= 4-digit PIDs to avoid converting SMTP respose codes
-    s/^(\s*\d{4,})\s(?!(?:previous message|in\s|bytes remain in|SMTP accept process running))/new_value($1, "p%s", \$next_pid) . ' '/e;
+    s/^\s*(\d{4,})\s(?!(?:previous message|in\s|bytes remain in|SMTP accept process running))/new_value($1, "p%s", \$next_pid) . ' '/e;


     # Debugging lines for Exim terminations and process-generation
     next if /(?:postfork: | fork(?:ing|ed) for )/;