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/src | |
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/src')
-rw-r--r-- | test/src/server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/src/server.c b/test/src/server.c index 3aecf76f0..4f2172376 100644 --- a/test/src/server.c +++ b/test/src/server.c @@ -572,6 +572,7 @@ for (count = 0; count < connection_count; count++) cr.pid, cr.uid, cr.gid); --------------*****************/ } + fflush(stdout); if (dup_accept_socket < 0) { |