git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
31480e4
)
Small delay in test harness to ensure debugging output comes out in the
author
Philip Hazel
<ph10@hermes.cam.ac.uk>
Mon, 8 Aug 2005 13:21:46 +0000
(13:21 +0000)
committer
Philip Hazel
<ph10@hermes.cam.ac.uk>
Mon, 8 Aug 2005 13:21:46 +0000
(13:21 +0000)
same order.
src/src/rda.c
patch
|
blob
|
history
diff --git
a/src/src/rda.c
b/src/src/rda.c
index 7819a8023692528d1f7cb7b701ebe4771e22bf61..1c45f7bb3bb0bcffe81ea5c295c24ac0deba7d78 100644
(file)
--- a/
src/src/rda.c
+++ b/
src/src/rda.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/rda.c,v 1.
9 2005/08/02 13:43:04
ph10 Exp $ */
+/* $Cambridge: exim/src/src/rda.c,v 1.
10 2005/08/08 13:21:46
ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
/*************************************************
* Exim - an Internet mail transport agent *
@@
-770,6
+770,11
@@
if (read(fd, filtertype, sizeof(int)) != sizeof(int) ||
read(fd, &yield, sizeof(int)) != sizeof(int) ||
!rda_read_string(fd, error)) goto DISASTER;
read(fd, &yield, sizeof(int)) != sizeof(int) ||
!rda_read_string(fd, error)) goto DISASTER;
+/* In the test harness, give the subprocess time to finish off and write
+any debugging output. */
+
+if (running_in_test_harness) millisleep(250);
+
DEBUG(D_route)
debug_printf("rda_interpret: subprocess yield=%d error=%s\n", yield, *error);
DEBUG(D_route)
debug_printf("rda_interpret: subprocess yield=%d error=%s\n", yield, *error);