summaryrefslogtreecommitdiff
path: root/t/t6044-merge-unrelated-index-changes.sh
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2017-05-22 16:17:31 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-05-23 14:29:51 +0900
commit23739aa2b3d2546c3b3ff0e06eb5171b37e31a90 (patch)
tree1f86a3f21fa4fa01517c13d691d7e00778bfe83c /t/t6044-merge-unrelated-index-changes.sh
parentMerge branch 'bc/object-id' (diff)
downloadtgif-23739aa2b3d2546c3b3ff0e06eb5171b37e31a90.tar.xz
t3600: clean up permissions test properly
The test of failing `git rm -f` removes the write permissions on the test directory, but fails to restore them if the test fails. This means that the test temporary directory cannot be cleaned up, which means that subsequent attempts to run the test fail mysteriously. Instead, do the cleanup in a `test_when_finished` block so that it can't be skipped. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6044-merge-unrelated-index-changes.sh')
0 files changed, 0 insertions, 0 deletions