From 5facbeaa3b5497692c2c4852056e08a2454f9437 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Thu, 16 Nov 2017 18:31:23 +0000 Subject: [PATCH] Testsuite: delays for debug output ordering (again) --- src/src/deliver.c | 3 +++ 1 file changed, 3 insertions(+) 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]); -- 2.30.2