git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 1/2] t2026 needs procondition SANITY

From
Torsten Bögershausen <tboegi@web.de>
Date
Jan 27, 2015, 15:38 UTC
Message-ID
<54C7B109.70700@web.de>

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
Message 1 of 1 in “t2026 needs procondition SANITY”
  1. 1/2 t2026 needs procondition SANITYTorsten Bögershausen, Jan 27, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.