]> granicus.if.org Git - git/commitdiff
t6131 - skip tests if on case-insensitive file system
authorMark Levedahl <mlevedahl@gmail.com>
Wed, 17 Jul 2013 13:22:16 +0000 (09:22 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Jul 2013 19:47:59 +0000 (12:47 -0700)
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6131-pathspec-icase.sh

index 3215eef5253ca9f0a34f217a7af3f0b067df711c..8d4a7fcb916f9669a9c9ef5b3668f881aff29217 100755 (executable)
@@ -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 &&