From b9d9c5a27bea03802901872e0e056fb97b4c30a6 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Fri, 8 Apr 2016 19:37:13 +0100 Subject: Testsuite: 0322 (pipelining errors) avoid triggering SIGPIPE This was timing-dependent; if the exim closed the connection before the script wrote to it _after_ triggerring an error, EPIPE/SIGPIPE. Unexplained as yet: why runtest (perl) saw this as a 141 server returncode (NB: 141-128 = 13 = SIGPIPE, the shell behaviour) when "perldoc -v '$?'" (which runtest is coded to) says that a signum should be in the top nibble of 16b. --- test/stdout/0322 | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'test/stdout/0322') diff --git a/test/stdout/0322 b/test/stdout/0322 index 7bf7be255..01894f128 100644 --- a/test/stdout/0322 +++ b/test/stdout/0322 @@ -13,7 +13,8 @@ RCPT TO: 250 Recipient OK DATA > -Unexpected EOF read from client +Expected EOF read from client +End of script Listening on port 1224 ... Connection request from [127.0.0.1] 220 ESMTP @@ -26,8 +27,8 @@ MAIL FROM: RCPT TO: > DATA -550 Failed DATA -Unexpected EOF read from client +Expected EOF read from client +End of script Listening on port 1224 ... Connection request from [127.0.0.1] 220 ESMTP @@ -40,8 +41,8 @@ MAIL FROM: RCPT TO: 550 Can't send RCPT DATA -550 Can't send DATA -Unexpected EOF read from client +Expected EOF read from client +End of script Listening on port 1224 ... Connection request from [127.0.0.1] 220 ESMTP @@ -59,8 +60,8 @@ RCPT TO: RCPT TO: 250 Third RCPT OK DATA -550 Failed DATA -Unexpected EOF read from client +Expected EOF read from client +End of script Listening on port 1224 ... Connection request from [127.0.0.1] 220 ESMTP @@ -91,7 +92,8 @@ RCPT TO: 250 Recipient OK DATA > -Unexpected EOF read from client +Expected EOF read from client +End of script Listening on port 1224 ... Connection request from [127.0.0.1] 220 ESMTP @@ -102,7 +104,8 @@ MAIL FROM: 250 Sender OK RCPT TO: > -Unexpected EOF read from client +Expected EOF read from client +End of script Listening on port 1224 ... Connection request from [127.0.0.1] 220 ESMTP @@ -111,7 +114,8 @@ EHLO myhost.test.ex 250 HELP MAIL FROM: > -Unexpected EOF read from client +Expected EOF read from client +End of script Listening on port 1224 ... Connection request from [127.0.0.1] 220 ESMTP @@ -125,4 +129,5 @@ RCPT TO: RCPT TO: > 250 Second RCPT malformed -Unexpected EOF read from client +Expected EOF read from client +End of script -- cgit v1.2.3