summaryrefslogtreecommitdiff
path: root/t/t0001-init.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-06-28 12:53:33 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-06-28 12:53:33 -0700
commit18404434bf406f6a6f892ed73320c5cf9cc187dd (patch)
tree52ff19a64024f2c6bed5b308adf2ca97daca9ed6 /t/t0001-init.sh
parentMerge branch 'nd/completion-negation' (diff)
parenttests: clean after SANITY tests (diff)
downloadtgif-18404434bf406f6a6f892ed73320c5cf9cc187dd.tar.xz
Merge branch 'jc/clean-after-sanity-tests'
test cleanup. * jc/clean-after-sanity-tests: tests: clean after SANITY tests
Diffstat (limited to 't/t0001-init.sh')
-rwxr-xr-xt/t0001-init.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t0001-init.sh b/t/t0001-init.sh
index c413bff9cf..4c865051e7 100755
--- a/t/t0001-init.sh
+++ b/t/t0001-init.sh
@@ -287,6 +287,7 @@ test_expect_success 'init notices EEXIST (2)' '
'
test_expect_success POSIXPERM,SANITY 'init notices EPERM' '
+ test_when_finished "chmod +w newdir" &&
rm -fr newdir &&
mkdir newdir &&
chmod -w newdir &&