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/scripts/0000-Basic | |
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/scripts/0000-Basic')
-rw-r--r-- | test/scripts/0000-Basic/0322 | 37 |
1 files changed, 8 insertions, 29 deletions
diff --git a/test/scripts/0000-Basic/0322 b/test/scripts/0000-Basic/0322 index e317eb784..91fabeeb7 100644 --- a/test/scripts/0000-Basic/0322 +++ b/test/scripts/0000-Basic/0322 @@ -13,8 +13,7 @@ RCPT TO: 250 Recipient OK DATA > -QUIT -250 OK +*eof **** exim -odi x@test.ex **** @@ -29,9 +28,7 @@ MAIL FROM: RCPT TO: > DATA -550 Failed DATA -QUIT -250 OK +*eof **** exim -odi x@test.ex **** @@ -46,9 +43,7 @@ MAIL FROM: RCPT TO: 550 Can't send RCPT DATA -550 Can't send DATA -QUIT -250 OK +*eof **** exim -odi x@test.ex **** @@ -68,9 +63,7 @@ RCPT TO: RCPT TO: 250 Third RCPT OK DATA -550 Failed DATA -QUIT -250 OK +*eof **** exim -odi x@test.ex y@test.ex z@test.ex **** @@ -109,8 +102,7 @@ RCPT TO: 250 Recipient OK DATA > -QUIT -250 OK +*eof **** exim -odi x@test.ex **** @@ -123,10 +115,7 @@ MAIL FROM: 250 Sender OK RCPT TO: > -DATA -550 Failed DATA -QUIT -250 OK +*eof **** exim -odi x@test.ex **** @@ -137,12 +126,7 @@ EHLO 250 HELP MAIL FROM: > -RCPT TO: -550 Can't send RCPT -DATA -550 Can't send DATA -QUIT -250 OK +*eof **** exim -odi x@test.ex **** @@ -158,12 +142,7 @@ RCPT TO: RCPT TO: > 250 Second RCPT malformed -RCPT TO: -250 Third RCPT OK -DATA -550 Failed DATA -QUIT -250 OK +*eof **** exim -odi x@test.ex y@test.ex z@test.ex **** |