Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-12-17 02:27:49 +0300
committerJunio C Hamano <gitster@pobox.com>2016-12-17 02:27:49 +0300
commiteb600866c3bb7b9b659d4776c1d3283963e93f1a (patch)
treeccd3aee96e940224e40fa30988e78aa40998d1cf /t/t7610-mergetool.sh
parent2cf8c9053afbb666dc30f384d313e3e85e00d53a (diff)
parentfa3142c9193bb31e7154d0f0cd7d15208a8dd51a (diff)
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' '