aboutsummaryrefslogtreecommitdiff
path: root/t/t2026-prune-linked-checkouts.sh
diff options
context:
space:
mode:
authorTorsten Bögershausen <tboegi@web.de>2015-01-27 16:38:49 +0100
committerJunio C Hamano <gitster@pobox.com>2015-01-27 14:20:47 -0800
commitecf2ff6ace6a1cc3d55b6f917be5452b5fb0c21b (patch)
treeb3bc23ca0f52bb06ab687b81e5ad690624ae7751 /t/t2026-prune-linked-checkouts.sh
parenta83a66aca25950dd2ea7367de093b21edb8ca991 (diff)
downloadgit-ecf2ff6ace6a1cc3d55b6f917be5452b5fb0c21b.tar.gz
git-ecf2ff6ace6a1cc3d55b6f917be5452b5fb0c21b.tar.xz
t2026 needs procondition SANITY
When running t0026 as root 'prune directories with unreadable gitdir' fails. Skip this test if SANITY is not set (the use of POSIXPERM is wrong here) Signed-off-by: Torsten Bögershausen <tboegi@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2026-prune-linked-checkouts.sh')
-rwxr-xr-xt/t2026-prune-linked-checkouts.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t2026-prune-linked-checkouts.sh b/t/t2026-prune-linked-checkouts.sh
index 170aefe3e..2936d52a9 100755
--- a/t/t2026-prune-linked-checkouts.sh
+++ b/t/t2026-prune-linked-checkouts.sh
@@ -33,7 +33,7 @@ EOF
! test -d .git/worktrees
'
-test_expect_success POSIXPERM 'prune directories with unreadable gitdir' '
+test_expect_success SANITY 'prune directories with unreadable gitdir' '
mkdir -p .git/worktrees/def/abc &&
: >.git/worktrees/def/def &&
: >.git/worktrees/def/gitdir &&