From: Max Kirillov Date: Sat, 24 Nov 2018 13:03:37 GMT Subject: Re: [PATCH] t5562: do not reuse output files Message-ID: <20181124130337.GH5348@jessie.local> In-Reply-To: On Sat, Nov 24, 2018 at 04:47:19PM +0900, Junio C Hamano wrote: > I do agree that forcing the parent to wait, like you described in > the comment, would be far more preferrable, It looks like it can be done as simple as: --- a/http-backend.c +++ b/http-backend.c @@ -486,6 +486,8 @@ static void run_service(const char **argv, int buffer_input) if (buffer_input || gzipped_request || req_len >= 0) cld.in = -1; cld.git_cmd = 1; + cld.clean_on_exit = 1; + cld.wait_after_clean = 1; if (start_command(&cld)) exit(1); at least according to strate it does what it should.