summaryrefslogtreecommitdiffstats
path: root/t/t7610-mergetool.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-12-17 00:27:49 +0100
committerJunio C Hamano <gitster@pobox.com>2016-12-17 00:27:49 +0100
commiteb600866c3bb7b9b659d4776c1d3283963e93f1a (patch)
treeccd3aee96e940224e40fa30988e78aa40998d1cf /t/t7610-mergetool.sh
parentMerge branch 'nd/worktree-list-fixup' (diff)
parentt7610: clean up foo.XXXXXX tmpdir (diff)
downloadgit-eb600866c3bb7b9b659d4776c1d3283963e93f1a.tar.xz
git-eb600866c3bb7b9b659d4776c1d3283963e93f1a.zip
Merge branch 'ak/lazy-prereq-mktemp'
Test code clean-up. * ak/lazy-prereq-mktemp: t7610: clean up foo.XXXXXX tmpdir
Diffstat (limited to 't/t7610-mergetool.sh')
-rwxr-xr-xt/t7610-mergetool.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t7610-mergetool.sh b/t/t7610-mergetool.sh
index 6d9f21511f..63d36fb28e 100755
--- a/t/t7610-mergetool.sh
+++ b/t/t7610-mergetool.sh
@@ -591,7 +591,8 @@ test_expect_success 'filenames seen by tools start with ./' '
test_lazy_prereq MKTEMP '
tempdir=$(mktemp -d -t foo.XXXXXX) &&
- test -d "$tempdir"
+ test -d "$tempdir" &&
+ rmdir "$tempdir"
'
test_expect_success MKTEMP 'temporary filenames are used with mergetool.writeToTemp' '