threads / patch / 32686

v2, 3 partst0050: honor CASE_INSENSITIVE_FS in add (with different case)

Subject: [PATCH v2 2/3] t0050: honor CASE_INSENSITIVE_FS in add (with different case)

## tl;dr

One message between Jan 21, 2013 and Jan 21, 2013. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Torsten Bögershausen· Jan 21, 2013, 16:46 UTC · lore

The test case "add (with different case)" indicates a known breakage when run on a case insensitive file system.

The test is invalid for case sensitive file system, it will always fail.
Check the precondition CASE_INSENSITIVE_FS before running it.
Signed-off-by: Torsten Bögershausen <tboegi@web.de>
---
Changes since v1: Corrected and improved commit message
 t/t0050-filesystem.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to t/t0050-filesystem.sh +1 −1
diff --git a/t/t0050-filesystem.sh b/t/t0050-filesystem.sh
index ccd685d..a6fa3c5 100755
--- a/t/t0050-filesystem.sh
+++ b/t/t0050-filesystem.sh
@@ -88,7 +88,7 @@ test_expect_success 'merge (case change)' '
 
 
 
-test_expect_failure 'add (with different case)' '
+test_expect_failure CASE_INSENSITIVE_FS 'add (with different case)' '
 
 	git reset --hard initial &&
 	rm camelcase &&
-- 
1.8.0.197.g5a90748

← back to recent threads