summaryrefslogtreecommitdiff
path: root/test/src/server.c
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-04-08 19:37:13 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2016-04-08 19:37:13 +0100
commitb9d9c5a27bea03802901872e0e056fb97b4c30a6 (patch)
tree61e74b07329757389feafed4c34194a803f9174e /test/src/server.c
parentd223e9344978ee88ad04a231f00f7540d2b841e2 (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/server.c')
-rw-r--r--test/src/server.c1
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)
{