Merge branch 'ak/lazy-prereq-mktemp' into maint

Test code clean-up.

* ak/lazy-prereq-mktemp:
  t7610: clean up foo.XXXXXX tmpdir
maint
Junio C Hamano 2017-01-17 15:19:04 -08:00
commit d0366b137c
1 changed files with 2 additions and 1 deletions

View File

@ -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' '