Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-06-28 22:53:33 +0300
committerJunio C Hamano <gitster@pobox.com>2018-06-28 22:53:33 +0300
commit18404434bf406f6a6f892ed73320c5cf9cc187dd (patch)
tree52ff19a64024f2c6bed5b308adf2ca97daca9ed6 /t/t0070-fundamental.sh
parent6da2d9595161441cbed1b1f579b8dd46970a8e20 (diff)
parent037714252f74ae77e816018e43b2504a1b057246 (diff)
Merge branch 'jc/clean-after-sanity-tests'
test cleanup. * jc/clean-after-sanity-tests: tests: clean after SANITY tests
Diffstat (limited to 't/t0070-fundamental.sh')
-rwxr-xr-xt/t0070-fundamental.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0070-fundamental.sh b/t/t0070-fundamental.sh
index 23fbe6434a..7b111a56fd 100755
--- a/t/t0070-fundamental.sh
+++ b/t/t0070-fundamental.sh
@@ -19,8 +19,8 @@ test_expect_success 'mktemp to nonexistent directory prints filename' '
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-tool mktemp cannotwrite/testXXXXXX 2>err &&
grep "cannotwrite/test" err
'