From d0eb2d4579a562f40f4c36b22d47c0225f61b667 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Fri, 6 Oct 2017 22:58:39 +0100 Subject: [PATCH] Testsuite: accept different debug detail for peer-terminated connection --- test/runtest | 3 +++ test/scripts/0000-Basic/0476 | 1 + 2 files changed, 4 insertions(+) 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 /' }, + + '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 -- 2.25.1