aboutsummaryrefslogtreecommitdiffstats
path: root/diff-lib.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2025-11-28 01:21:06 +0000
committerJunio C Hamano <gitster@pobox.com>2025-11-27 19:06:03 -0800
commita92f243a94e6810394fb01d517726487252007f0 (patch)
tree8adb9cb8be9a4ad5ccb1cb38eb0e20c6e53bcc75 /diff-lib.c
parentbf25fca31c5a923598ce8461034a992920e3625b (diff)
downloadgit-a92f243a94e6810394fb01d517726487252007f0.tar.gz
t5564: fix test hang under zsh's sh mode
This test starts a SOCKS server in Perl in the background and then kills it after the tests are done. However, when using zsh (in sh mode) in the tests, the start_socks function hangs until the background process is killed. Note that this does not reproduce in a simple shell script, so there is likely some interaction between job handling, our heavy use of eval in the test framework, and possibly other complexities of our test framework. What is clear, however, is that switching from a compound statement to a subshell fixes the problem entirely and the test passes with no problem, so do that. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff-lib.c')
0 files changed, 0 insertions, 0 deletions