summaryrefslogtreecommitdiffstats
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 23:20:47 +0100
commitecf2ff6ace6a1cc3d55b6f917be5452b5fb0c21b (patch)
treeb3bc23ca0f52bb06ab687b81e5ad690624ae7751
parentgit-checkout.txt: a note about multiple checkout support for submodules (diff)
downloadgit-ecf2ff6ace6a1cc3d55b6f917be5452b5fb0c21b.tar.xz
git-ecf2ff6ace6a1cc3d55b6f917be5452b5fb0c21b.zip
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>
-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 170aefe3e6..2936d52a9c 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 &&