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

[PATCH] t7300: mark test with SANITY

From
Stefan Beller <sbeller@google.com>
Date
May 3, 2016, 18:54 UTC
Message-ID
<1462301672-20866-1-git-send-email-sbeller@google.com>

As the test runs `chmod 0` on a file, we don't want to run that test as root.

Reported-by: Jan Keromnes <janx@linux.com>
Fix-proposed-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Stefan Beller <sbeller@google.com>
---
 t/t7300-clean.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/t7300-clean.sh b/t/t7300-clean.sh
index 86ceb38..b89fd2a 100755
--- a/t/t7300-clean.sh
+++ b/t/t7300-clean.sh
@@ -495,7 +495,7 @@ test_expect_success 'should not clean submodules' '
 	test_path_is_missing to_clean
 '
 
-test_expect_success POSIXPERM 'should avoid cleaning possible submodules' '
+test_expect_success POSIXPERM,SANITY 'should avoid cleaning possible submodules' '
 	rm -fr to_clean possible_sub1 &&
 	mkdir to_clean possible_sub1 &&
 	test_when_finished "rm -rf possible_sub*" &&
-- 
2.8.0.37.gb114fff.dirty
Next: Jeff King
Message 1 of 7 in “t7300: mark test with SANITY”
  1. t7300: mark test with SANITYStefan Beller, May 3, 2016
  2. Jeff KingMay 3, 2016
  3. Junio C HamanoMay 3, 2016
  4. Junio C HamanoMay 3, 2016
  5. Jeff KingMay 3, 2016
  6. Junio C HamanoMay 3, 2016
  7. Jeff KingMay 3, 2016

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.