Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ak/lazy-prereq-mktemp'
author
Junio C Hamano
<gitster@pobox.com>
Fri, 16 Dec 2016 23:27:49 +0000
(15:27 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 16 Dec 2016 23:27:49 +0000
(15:27 -0800)
Test code clean-up.
* ak/lazy-prereq-mktemp:
t7610: clean up foo.XXXXXX tmpdir
t/t7610-mergetool.sh
patch
|
blob
|
history
raw
(from parent 1:
2cf8c90
)
diff --git
a/t/t7610-mergetool.sh
b/t/t7610-mergetool.sh
index 6d9f21511fe1062565d8d08f60c385cffd94cac6..63d36fb28e44426708a743979c4bc341bdac714e 100755
(executable)
--- 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' '