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/stderr/0218 | |
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/stderr/0218')
-rw-r--r-- | test/stderr/0218 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/stderr/0218 b/test/stderr/0218 index 4c74ff294..c58c83011 100644 --- a/test/stderr/0218 +++ b/test/stderr/0218 @@ -28,6 +28,7 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected SMTP<< 351 Send more SMTP>> writing message and terminating "." SMTP<< 250 OK + SMTP(close)>> LOG: MAIN => a@test.ex F=<CALLER@test.ex> R=client T=send_to_server H=127.0.0.1 [127.0.0.1] C="250 OK" LOG: MAIN @@ -48,6 +49,7 @@ T: send_to_server (ACL) SMTP>> writing message and terminating "." SMTP<< 250 OK SMTP>> QUIT + SMTP(close)>> LOG: MAIN => b@test.ex F=<CALLER@test.ex> R=client T=send_to_server H=127.0.0.1 [127.0.0.1]* C="250 OK" LOG: MAIN @@ -85,6 +87,7 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected SMTP<< 503 Unexpected RCPT SMTP<< 503 Unexpected DATA SMTP>> QUIT + SMTP(close)>> LOG: MAIN ** a@test.ex F=<CALLER@test.ex> R=client T=send_to_server H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after MAIL FROM:<CALLER@test.ex>: 550 NO Exim version x.yz .... @@ -142,6 +145,7 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected SMTP<< 503 Unexpected DATA SMTP>> RSET SMTP<< 250 OK + SMTP(close)>> LOG: MAIN ** b@test.ex F=<CALLER@test.ex> R=client T=send_to_server H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<b@test.ex>: 550 Unknown Exim version x.yz .... @@ -169,6 +173,7 @@ T: send_to_server (ACL) SMTP>> writing message and terminating "." SMTP<< 250 OK SMTP>> QUIT + SMTP(close)>> LOG: MAIN => c@test.ex F=<CALLER@test.ex> R=client T=send_to_server H=127.0.0.1 [127.0.0.1]* C="250 OK" LOG: MAIN |