[exim-cvs] Testsuite: munge for WITH_LOCAL_SCAN

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] Testsuite: munge for WITH_LOCAL_SCAN
Gitweb: https://git.exim.org/exim.git/commitdiff/e9da179430937b68fbbb080187eb64607b894743
Commit:     e9da179430937b68fbbb080187eb64607b894743
Parent:     00ac951dc593268b8f27a9c24c31e737644edd5a
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Tue Oct 22 13:24:47 2019 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Tue Oct 22 13:24:47 2019 +0100


    Testsuite: munge for WITH_LOCAL_SCAN
---
 test/runtest | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


diff --git a/test/runtest b/test/runtest
index 3ecccb0..0d6bcd1 100755
--- a/test/runtest
+++ b/test/runtest
@@ -758,6 +758,10 @@ RESET_AFTER_EXTRA_LINE_READ:
s/waiting for children of \d+/waiting for children of pppp/;
s/waiting for (\S+) \(\d+\)/waiting for $1 (pppp)/;

+ # Most builds are without HAVE_LOCAL_SCAN
+ next if /^calling local_scan\(\); timeout=300$/;
+ next if /^local_scan\(\) returned 0 NULL$/;
+
# ======== Port numbers ========
# Incoming port numbers may vary, but not in daemon startup line.

@@ -1286,10 +1290,6 @@ RESET_AFTER_EXTRA_LINE_READ:
     # TLS resumption is not always supported by the build
     next if /in tls_resumption_hosts\?/;


-    # Most builds are without HAVE_LOCAL_SCAN
-    next if /^calling local_scan\(\); timeout=300$/;
-    next if /^local_scan\(\) returned 0 NULL$/;
-
     # Platform differences in errno strings
     s/  SMTP\(Operation timed out\)<</  SMTP(Connection timed out)<</;