summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorTorsten Bögershausen <tboegi@web.de>2015-01-27 15:38:49 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-01-27 22:20:47 (GMT)
commitecf2ff6ace6a1cc3d55b6f917be5452b5fb0c21b (patch)
treeb3bc23ca0f52bb06ab687b81e5ad690624ae7751 /t
parenta83a66aca25950dd2ea7367de093b21edb8ca991 (diff)
downloadgit-ecf2ff6ace6a1cc3d55b6f917be5452b5fb0c21b.zip
git-ecf2ff6ace6a1cc3d55b6f917be5452b5fb0c21b.tar.gz
git-ecf2ff6ace6a1cc3d55b6f917be5452b5fb0c21b.tar.bz2
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')
-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 170aefe..2936d52 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 &&