diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2004-11-24 16:14:50 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2004-11-24 16:14:50 +0000 |
commit | 4e1fde53a4b1133c5efee3ac73e598ee36b9c1ba (patch) | |
tree | 0ba9fc67fbd073d673070cc47d3630df8442eab8 /src | |
parent | ea3bc19b9e6b236ca38c6bf506229fd41e89d6ad (diff) |
Testing tweak to improve repeatability.
Diffstat (limited to 'src')
-rw-r--r-- | src/src/queue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/src/queue.c b/src/src/queue.c index c3e81a09d..bbced642a 100644 --- a/src/src/queue.c +++ b/src/src/queue.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/queue.c,v 1.2 2004/11/05 14:59:12 ph10 Exp $ */ +/* $Cambridge: exim/src/src/queue.c,v 1.3 2004/11/24 16:14:50 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -615,6 +615,7 @@ for (i = (queue_run_in_order? -1 : 0); if ((pid = fork()) == 0) { int rc; + if (running_in_test_harness) millisleep(100); (void)close(pfd[pipe_read]); rc = deliver_message(f->text, force_delivery, FALSE); _exit(rc == DELIVER_NOT_ATTEMPTED); |