]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t0050: honor CASE_INSENSITIVE_FS in add (with different case)
authorTorsten Bögershausen <tboegi@web.de>
Mon, 21 Jan 2013 16:46:15 +0000 (17:46 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 22 Jan 2013 01:13:35 +0000 (17:13 -0800)
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0050-filesystem.sh

index ccd685dc142a1f3ad3a3d88b18a1a984f98d787e..a6fa3c5431823f066c9adefeea6af320b97593be 100755 (executable)
@@ -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 &&