From: Junio C Hamano Date: Thu, 28 Jun 2018 19:53:33 +0000 (-0700) Subject: Merge branch 'jc/clean-after-sanity-tests' X-Git-Tag: v2.19.0-rc0~171 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/18404434bf406f6a6f892ed73320c5cf9cc187dd Merge branch 'jc/clean-after-sanity-tests' test cleanup. * jc/clean-after-sanity-tests: tests: clean after SANITY tests --- 18404434bf406f6a6f892ed73320c5cf9cc187dd diff --cc t/t0070-fundamental.sh index 23fbe6434a,60e3de7b7b..7b111a56fd --- a/t/t0070-fundamental.sh +++ b/t/t0070-fundamental.sh @@@ -19,9 -19,9 +19,9 @@@ test_expect_success 'mktemp to nonexist test_expect_success POSIXPERM,SANITY 'mktemp to unwritable directory prints filename' ' mkdir cannotwrite && - chmod -w cannotwrite && test_when_finished "chmod +w cannotwrite" && + chmod -w cannotwrite && - test_must_fail test-mktemp cannotwrite/testXXXXXX 2>err && + test_must_fail test-tool mktemp cannotwrite/testXXXXXX 2>err && grep "cannotwrite/test" err '