From: Jeremy Harris Date: Fri, 6 Oct 2017 21:58:39 +0000 (+0100) Subject: Testsuite: accept different debug detail for peer-terminated connection X-Git-Tag: exim-4_90_RC1~49 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/d0eb2d4579a562f40f4c36b22d47c0225f61b667 Testsuite: accept different debug detail for peer-terminated connection --- 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