提交 ecf2ff6a 编写于 作者: T Torsten Bögershausen 提交者: Junio C Hamano

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: NTorsten Bögershausen <tboegi@web.de>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 a83a66ac
......@@ -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 &&
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册