Skip to content

Commit d0366b1

Browse files
committed
Merge branch 'ak/lazy-prereq-mktemp' into maint
Test code clean-up. * ak/lazy-prereq-mktemp: t7610: clean up foo.XXXXXX tmpdir
2 parents 1df2046 + fa3142c commit d0366b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

t/t7610-mergetool.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,8 @@ test_expect_success 'filenames seen by tools start with ./' '
591591

592592
test_lazy_prereq MKTEMP '
593593
tempdir=$(mktemp -d -t foo.XXXXXX) &&
594-
test -d "$tempdir"
594+
test -d "$tempdir" &&
595+
rmdir "$tempdir"
595596
'
596597

597598
test_expect_success MKTEMP 'temporary filenames are used with mergetool.writeToTemp' '

0 commit comments

Comments
 (0)