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

[PATCH] t6131 - skip tests if on case-insensitive file system

From
Mark Levedahl <mlevedahl@gmail.com>
Date
Jul 17, 2013, 13:22 UTC
Message-ID
<1374067336-6545-1-git-send-email-mlevedahl@gmail.com>

This test fails on Cygwin where the default system configuration does not support case sensitivity (only case retention), so don't run the test on such systems.

Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
---
 t/t6131-pathspec-icase.sh | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/t/t6131-pathspec-icase.sh b/t/t6131-pathspec-icase.sh
index 3215eef..8d4a7fc 100755
--- a/t/t6131-pathspec-icase.sh
+++ b/t/t6131-pathspec-icase.sh
@@ -3,6 +3,12 @@
 test_description='test case insensitive pathspec limiting'
 . ./test-lib.sh
 
+if test_have_prereq CASE_INSENSITIVE_FS
+then
+	skip_all='skipping case sensitive tests - case insensitive file system'
+	test_done
+fi
+
 test_expect_success 'create commits with glob characters' '
 	test_commit bar bar &&
 	test_commit bAr bAr &&
-- 
1.8.3.2.0.63
Next: Duy Nguyen
Message 1 of 3 in “t6131 - skip tests if on case-insensitive file system”
  1. t6131 - skip tests if on case-insensitive file systemMark Levedahl, Jul 17, 2013
  2. Duy NguyenJul 17, 2013
  3. Junio C HamanoJul 17, 2013

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.