Skip to content

Commit

Permalink
t2026 needs procondition SANITY
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Torsten Bögershausen authored and Junio C Hamano committed Jan 27, 2015
1 parent a83a66a commit ecf2ff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t2026-prune-linked-checkouts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit ecf2ff6

Please sign in to comment.