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>
Torsten Bögershausen committed
Jan 27, 2015 at 16:38 UTC
ecf2ff6ace6a1cc3d55b6f917be5452b5fb0c21b
1 file changed
+1
-1
t/t2026-prune-linked-checkouts.sh
+1
-1
@@ -33,7 +33,7 @@ EOF
33
! test -d .git/worktrees
34
'
35
36
-test_expect_success POSIXPERM 'prune directories with unreadable gitdir' '
36
+test_expect_success SANITY 'prune directories with unreadable gitdir' '
37
mkdir -p .git/worktrees/def/abc &&
38
: >.git/worktrees/def/def &&
39
: >.git/worktrees/def/gitdir &&