summaryrefslogtreecommitdiff
path: root/test/runtest
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2022-01-27 17:04:05 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2022-01-27 19:06:00 +0000
commit8f6f8772553ebcc66418ac379d956d9af1abdc32 (patch)
tree780f4280151214af70368ebc65b3bc7bc2b2e932 /test/runtest
parent9f691660159a9279353a99fca776c7687faaae26 (diff)
Testsuite: move ACL-triggered debug output to stderr file, and munge
Broken-by: 9dea8f12c7
Diffstat (limited to 'test/runtest')
-rwxr-xr-xtest/runtest9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/runtest b/test/runtest
index 6cc5b3bdb..89f734554 100755
--- a/test/runtest
+++ b/test/runtest
@@ -1408,8 +1408,13 @@ RESET_AFTER_EXTRA_LINE_READ:
s/^errno = \d+$/errno = EEE/;
s/^writing error \d+: /writing error EEE: /;
- # Some platforms have to flip to slow-mode taint-checking
- next if /switching to slow-mode taint checking/;
+ # Time-only, in debug output
+ # we have to handle double lines from the DBOPEN, hence placed down here and /mg
+ s/^\d\d:\d\d:\d\d\s/01:01:01 /mg;
+
+ # pid in debug lines
+ s/^(\d\d:\d\d:\d\d)(\s\d+\s)/"$1 " . new_value($2, "%s", \$next_pid) . " "/mgxe;
+ s/(?<!post-)[Pp]rocess\K(\s\d+ )/new_value($1, "%s", \$next_pid) . " "/gxe;
# When Exim is checking the size of directories for maildir, it uses
# the check_dir_size() function to scan directories. Of course, the order