Testsuite: fix stderr munging
authorJeremy Harris <jgh146exb@wizmail.org>
Sat, 9 Nov 2019 23:01:25 +0000 (23:01 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Sat, 9 Nov 2019 23:02:14 +0000 (23:02 +0000)
Broken-by: 01446a56c7
test/runtest
test/stderr/0438

index 97edbc24427d15d16bcda79d868552c3f702011d..6e9255b333ec88882d06673477d7a21a51b3964c 100755 (executable)
@@ -1029,7 +1029,7 @@ RESET_AFTER_EXTRA_LINE_READ:
 
     s/(?<=^>>>>>>>>>>>>>>>> Exim pid=)\d+(?= terminating)/pppp/;
     s/^(proxy-proc \w{5}-pid) \d+$/$1 pppp/;
-    s/^(?:\d+)( exec .* -oPX)$/pppp$1/;
+    s/^(?:\s*\d+ )(exec .* -oPX)$/pppp $1/;
 
     # IP address lookups use gethostbyname() when IPv6 is not supported,
     # and gethostbyname2() or getipnodebyname() when it is.
@@ -1047,6 +1047,9 @@ RESET_AFTER_EXTRA_LINE_READ:
     next if /OpenSSL compile-time version: OpenSSL \d+[\.\da-z]+/;
     next if /OpenSSL runtime version: OpenSSL \d+[\.\da-z]+/;
 
+    # this is timing-dependent
+    next if /^OpenSSL: creating STEK$/;
+
     # drop lookups
     next if /^Lookups \(built-in\):/;
     next if /^Loading lookup modules from/;
index bb6ba3f53af4dc184b95adb69aa47251b0d1c1f1..bac5bc1a69e1a27b77e9835a7eae8c52cdd3fe17 100644 (file)
@@ -54,7 +54,6 @@ LOG: MAIN
 set_process_info: pppp daemon(x.yz): no queue runs, listening for SMTP on port 1225
 daemon running with uid=EXIM_UID gid=EXIM_GID euid=EXIM_UID egid=EXIM_GID
 Listening...
-OpenSSL: creating STEK
 pppp exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -DSERVER=server -C TESTSUITE/test-config -d=0xf7795cfd -oP TESTSUITE/spool/mypidfile -oPX
 search_tidyup called
 >>>>>>>>>>>>>>>> Exim pid=pppp (daemon) terminating with rc=0 >>>>>>>>>>>>>>>>