From: Jeremy Harris Date: Thu, 16 Nov 2017 18:31:23 +0000 (+0000) Subject: Testsuite: delays for debug output ordering (again) X-Git-Tag: exim-4_90_RC3~11 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5facbeaa3b5497692c2c4852056e08a2454f9437;p=exim.git Testsuite: delays for debug output ordering (again) --- 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]);