]> granicus.if.org Git - git/commit
t5562: do not reuse output files
authorMax Kirillov <max@max630.net>
Sat, 24 Nov 2018 09:37:19 +0000 (11:37 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Feb 2019 21:04:37 +0000 (13:04 -0800)
commit0539071b1e998248ba89cb5117a57cd13d83aefb
tree9fad1f6acf354bb1bdefe83c60704e5d948a86d8
parentca1b4116483b397e78483376296bcd23916ab553
t5562: do not reuse output files

Some expected failures of git-http-backend leaves running its children
(receive-pack or upload-pack) which still hold opened descriptors
to act.err and with some probability they live long enough to write
there their failure messages after next test has already truncated
the files. This causes occasional failures of the test script.

Avoid the issue by using separated output and error file for each test,
apprending the test number to their name.

Reported-by: Carlo Arenas <carenas@gmail.com>
Helped-by: Carlo Arenas <carenas@gmail.com>
Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Max Kirillov <max@max630.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5562-http-backend-content-length.sh