Merge branch 'ak/lazy-prereq-mktemp'

Test code clean-up.

* ak/lazy-prereq-mktemp:
  t7610: clean up foo.XXXXXX tmpdir
maint
Junio C Hamano 2016-12-16 15:27:49 -08:00
commit eb600866c3
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 ' test_lazy_prereq MKTEMP '
tempdir=$(mktemp -d -t foo.XXXXXX) && 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' ' test_expect_success MKTEMP 'temporary filenames are used with mergetool.writeToTemp' '