summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2017-11-16 18:31:23 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2017-11-16 18:31:23 +0000
commit5facbeaa3b5497692c2c4852056e08a2454f9437 (patch)
tree0dacee3f630cbbc7b2643e16f49cb42884fb4a77
parent3ae7955652603d895b3dbf297e78ea05465cca9b (diff)
Testsuite: delays for debug output ordering (again)
-rw-r--r--src/src/deliver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/src/deliver.c b/src/src/deliver.c
index a7f561c9c..de552f4cc 100644
--- a/src/src/deliver.c
+++ b/src/src/deliver.c
@@ -8551,8 +8551,11 @@ if (cutthrough.fd >= 0 && cutthrough.callout_hold_only)
goto fail;
else if (pid == 0) /* child: fork again to totally disconnect */
+ {
+ if (running_in_test_harness) millisleep(100); /* let parent debug out */
/* does not return */
smtp_proxy_tls(big_buffer, big_buffer_size, pfd, 5*60);
+ }
DEBUG(D_transport) debug_printf("proxy-proc inter-pid %d\n", pid);
close(pfd[0]);