All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] t2026 needs procondition SANITY
@ 2015-01-27 15:38 Torsten Bögershausen
  0 siblings, 0 replies; only message in thread
From: Torsten Bögershausen @ 2015-01-27 15:38 UTC (permalink / raw)
  To: git; +Cc: tboegi

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>
---

Here is the promised patch, on top of pu:

The fix of t0026 is unrelated to all other patches, I think.

The advantage of the series is that it has been tested
on CYGWIN/MINGW/Mac/Linux/root@Mac, root@Linux,
the disadvantage may be that the commit message may need
improvements.


 t/t2026-prune-linked-checkouts.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/t2026-prune-linked-checkouts.sh b/t/t2026-prune-linked-checkouts.sh
index 170aefe..2936d52 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 &&
-- 
2.2.0.rc1.26.g3e3a70d

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-27 15:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-27 15:38 [PATCH 1/2] t2026 needs procondition SANITY Torsten Bögershausen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.