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

1 messages from 2013-01-21 to 2013-01-21. Participants: Torsten Bögershausen.
Thread: https://gitlist.dev/t/32686

## Torsten Bögershausen, 2013-01-21 16:46

Subject: [PATCH v2 2/3] t0050: honor CASE_INSENSITIVE_FS in add (with different case)
Message-ID: <201301211746.16213.tboegi@web.de>
URL: https://gitlist.dev/e/201301211746.16213.tboegi%40web.de

```
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(-)

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

```
