Skip to content

Commit ecf2ff6

Browse files
tboegigitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a83a66a commit ecf2ff6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t2026-prune-linked-checkouts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ EOF
3333
! test -d .git/worktrees
3434
'
3535

36-
test_expect_success POSIXPERM 'prune directories with unreadable gitdir' '
36+
test_expect_success SANITY 'prune directories with unreadable gitdir' '
3737
mkdir -p .git/worktrees/def/abc &&
3838
: >.git/worktrees/def/def &&
3939
: >.git/worktrees/def/gitdir &&

0 commit comments

Comments
 (0)