summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-01-17 23:19:04 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-01-17 23:19:04 (GMT)
commitd0366b137c01ada0fc2cd97a151bc36bc4d30eeb (patch)
tree0cade6806903f9909891d3996039b2bc90b816cd /t
parent1df2046d270011837c904d2b568b599bf61cdb87 (diff)
parentfa3142c9193bb31e7154d0f0cd7d15208a8dd51a (diff)
downloadgit-d0366b137c01ada0fc2cd97a151bc36bc4d30eeb.zip
git-d0366b137c01ada0fc2cd97a151bc36bc4d30eeb.tar.gz
git-d0366b137c01ada0fc2cd97a151bc36bc4d30eeb.tar.bz2
Merge branch 'ak/lazy-prereq-mktemp' into maint
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' '