summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2017-10-06 22:58:39 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2017-10-06 23:25:20 +0100
commitd0eb2d4579a562f40f4c36b22d47c0225f61b667 (patch)
tree8232db8073ae5987c492131e2b3c30ff6f3e3634 /test
parent552f4602b9d36667cd4a1ffaad4ce74ed7d1c922 (diff)
Testsuite: accept different debug detail for peer-terminated connection
Diffstat (limited to 'test')
-rwxr-xr-xtest/runtest3
-rw-r--r--test/scripts/0000-Basic/04761
2 files changed, 4 insertions, 0 deletions
diff --git a/test/runtest b/test/runtest
index 3bd6c77bd..eac861671 100755
--- a/test/runtest
+++ b/test/runtest
@@ -1549,6 +1549,9 @@ $munges =
'timeout_errno' => # actual errno differs Solaris vs. Linux
{ 'mainlog' => 's/(host deferral .* errno) <\d+> /$1 <EEE> /' },
+
+ 'peer_terminated_conn' => # actual error differs FreedBSD vs. Linux
+ { 'stderr' => 's/^( SMTP\()Connection reset by peer(\)<<)$/$1closed$2/' },
};
diff --git a/test/scripts/0000-Basic/0476 b/test/scripts/0000-Basic/0476
index a7ddb0f4b..b068a16a0 100644
--- a/test/scripts/0000-Basic/0476
+++ b/test/scripts/0000-Basic/0476
@@ -1,4 +1,5 @@
# RSET error for multiple messages
+munge peer_terminated_conn
need_ipv4
#
exim -odi -odqs userx@test.ex