From: Torsten Bögershausen Date: Tue, 27 Jan 2015 15:38:49 +0000 (+0100) Subject: t2026 needs procondition SANITY X-Git-Tag: v2.5.0-rc0~143^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/ecf2ff6ace6a1cc3d55b6f917be5452b5fb0c21b?hp=--cc 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 Signed-off-by: Junio C Hamano --- ecf2ff6ace6a1cc3d55b6f917be5452b5fb0c21b 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 &&