summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-12-16 23:27:49 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-12-16 23:27:49 (GMT)
commiteb600866c3bb7b9b659d4776c1d3283963e93f1a (patch)
treeccd3aee96e940224e40fa30988e78aa40998d1cf /t
parent2cf8c9053afbb666dc30f384d313e3e85e00d53a (diff)
parentfa3142c9193bb31e7154d0f0cd7d15208a8dd51a (diff)
downloadgit-eb600866c3bb7b9b659d4776c1d3283963e93f1a.zip
git-eb600866c3bb7b9b659d4776c1d3283963e93f1a.tar.gz
git-eb600866c3bb7b9b659d4776c1d3283963e93f1a.tar.bz2
Merge branch 'ak/lazy-prereq-mktemp'
Test code clean-up. * ak/lazy-prereq-mktemp: t7610: clean up foo.XXXXXX tmpdir
Diffstat (limited to 't')
-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 6d9f215..63d36fb 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' '