From 559cee44afd40a2ded6c2ae08cf7f6f3c29cae2c Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sat, 29 Jun 2024 14:58:20 +0100 Subject: [PATCH] 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. -- 2.30.2