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

[PATCH v1 2/2] git-p4: Skip t9819 test case on case insensitive file systems

From
larsxschneider@gmail.com <larsxschneider@gmail.com>
Date
Oct 12, 2015, 17:03 UTC
Message-ID
<1444669384-85419-3-git-send-email-larsxschneider@gmail.com>
In-Reply-To
<1444669384-85419-1-git-send-email-larsxschneider@gmail.com>
From: Lars Schneider <larsxschneider@gmail.com>

Windows and OS X file systems are case insensitive by default. Consequently the "git-p4-case-folding" test case does not apply to them.

Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Acked-by: Luke Diamand <luke@diamand.org>
---
 t/t9819-git-p4-case-folding.sh | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/t/t9819-git-p4-case-folding.sh b/t/t9819-git-p4-case-folding.sh
index 78f1d0f..d808c00 100755
--- a/t/t9819-git-p4-case-folding.sh
+++ b/t/t9819-git-p4-case-folding.sh
@@ -4,6 +4,12 @@ test_description='interaction with P4 case-folding'
 
 . ./lib-git-p4.sh
 
+if test_have_prereq CASE_INSENSITIVE_FS
+then
+	skip_all='skipping P4 case-folding tests; case insensitive file system detected'
+	test_done
+fi
+
 test_expect_success 'start p4d with case folding enabled' '
 	start_p4d -C1
 '
-- 
2.5.1
Previous: larsxschneider@gmail.comNext: Luke Diamand
Message 3 of 4 in “git-p4: Fix tests on OS X”
  1. 0/2 git-p4: Fix tests on OS Xlarsxschneider@gmail.com, Oct 12, 2015
  2. 1/2 git-p4: Improve test case portability for t9815 git-p4-submit-faillarsxschneider@gmail.com, Oct 12, 2015
  3. 2/2 git-p4: Skip t9819 test case on case insensitive file systemslarsxschneider@gmail.com, Oct 12, 2015
  4. Luke DiamandOct 22, 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.