Skip to content

Commit ba06991

Browse files
committed
Merge branch 'js/t6026-clean-up'
A test spawned a short-lived background process, which sometimes prevented the test directory from getting removed at the end of the script on some platforms. * js/t6026-clean-up: t6026-merge-attr: clean up background process at end of test case
2 parents 038763c + 5babb5b commit ba06991

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

t/t6026-merge-attr.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,9 @@ test_expect_success 'custom merge does not lock index' '
185185
git reset --hard anchor &&
186186
write_script sleep-one-second.sh <<-\EOF &&
187187
sleep 1 &
188+
echo $! >sleep.pid
188189
EOF
190+
test_when_finished "kill \$(cat sleep.pid)" &&
189191
190192
test_write_lines >.gitattributes \
191193
"* merge=ours" "text merge=sleep-one-second" &&

0 commit comments

Comments
 (0)