[exim-cvs] Testsuite: munge dumpdb output

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Exim Git Commits Mailing List
Ημερομηνία:  
Προς: exim-cvs
Αντικείμενο: [exim-cvs] Testsuite: munge dumpdb output
Gitweb: https://git.exim.org/exim.git/commitdiff/559cee44afd40a2ded6c2ae08cf7f6f3c29cae2c
Commit:     559cee44afd40a2ded6c2ae08cf7f6f3c29cae2c
Parent:     b8a84c728b30b9d4736e9a37a2e3d3ca62684d23
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sat Jun 29 14:58:20 2024 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sat Jun 29 14:58:20 2024 +0100


    Testsuite: munge dumpdb output
---
 test/runtest | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


diff --git a/test/runtest b/test/runtest
index 781ea97d1..efbd84877 100755
--- a/test/runtest
+++ b/test/runtest
@@ -468,6 +468,9 @@ RESET_AFTER_EXTRA_LINE_READ:
# This message sometimes has a different number of seconds
s/forced fail after \d seconds/forced fail after d seconds/;

+ # This message may contain a different DBM library name
+ s/Failed to open \S+( \([^\)]+\))? file/Failed to open hintsdb file/;
+
# The message for a non-listening FIFO varies
s/:[^:]+: while opening named pipe/: Error: while opening named pipe/;

@@ -1053,7 +1056,8 @@ RESET_AFTER_EXTRA_LINE_READ:
     s/^(Connection request from) \[.*:.*:.*\]$/$1 \[ipv6\]/;


     # Hints DB use of lockfiles is provider-dependent
-    s/Failed to open \K(?:hintsdb|database lock) file (.*\/spool\/db\/[^.]*)(?:.lockfile)?(?=(?: for reading)?: No such file or directory$)/hintsdb $1/;
+    s/Failed to open \K(?:hintsdb|database lock) file (.*\/spool\/db\/[^. ]*)(?:.lockfile)?(?: for reading)?(?=: No such file or directory$)/hintsdb $1/;
+


     # openssl version variances
   # Error lines on stdout from SSL contain process id values and file names.


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-cvs.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-cvs-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/