diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2016-04-08 19:37:13 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2016-04-08 19:37:13 +0100 |
commit | b9d9c5a27bea03802901872e0e056fb97b4c30a6 (patch) | |
tree | 61e74b07329757389feafed4c34194a803f9174e /test/stdout/0322 | |
parent | d223e9344978ee88ad04a231f00f7540d2b841e2 (diff) |
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.
Diffstat (limited to 'test/stdout/0322')
-rw-r--r-- | test/stdout/0322 | 27 |
1 files changed, 16 insertions, 11 deletions
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:<x@test.ex> 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:<CALLER@myhost.test.ex> RCPT TO:<x@test.ex> > 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:<CALLER@myhost.test.ex> RCPT TO:<x@test.ex> 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:<y@test.ex> RCPT TO:<z@test.ex> 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:<x@test.ex> 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:<CALLER@myhost.test.ex> 250 Sender OK RCPT TO:<x@test.ex> > -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:<CALLER@myhost.test.ex> > -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:<x@test.ex> RCPT TO:<y@test.ex> > 250 Second RCPT malformed -Unexpected EOF read from client +Expected EOF read from client +End of script |