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/stderr/0276 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/stderr/0276') diff --git a/test/stderr/0276 b/test/stderr/0276 index 2b01713f8..030801927 100644 --- a/test/stderr/0276 +++ b/test/stderr/0276 @@ -14,6 +14,7 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected SMTP<< 250 OK SMTP<< 500 NO SMTP>> QUIT + SMTP(close)>> LOG: MAIN ** userx@test.ex R=r1 T=t1 H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined DATA: 500 NO LOG: MAIN @@ -47,6 +48,7 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected SMTP>> DATA SMTP<< 500 NO SMTP>> QUIT + SMTP(close)>> LOG: MAIN ** userx@test.ex R=r1 T=t1 H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after DATA: 500 NO LOG: MAIN -- cgit v1.2.3