summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Mark Levedahl <mlevedahl@gmail.com>2013-07-17 09:22:16 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-07-17 12:47:59 -0700
commitdb6a6adabfb57d8a4dcd0491a7b7e2168dac60c1 (patch)
treefd4a7e0c28bc1fc314548cd1e9d37b737da5368e
parentparse_pathspec: accept :(icase)path syntax (diff)
downloadtgif-db6a6adabfb57d8a4dcd0491a7b7e2168dac60c1.tar.xz
t6131 - skip tests if on case-insensitive file system
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>
-rwxr-xr-xt/t6131-pathspec-icase.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t6131-pathspec-icase.sh b/t/t6131-pathspec-icase.sh
index 3215eef525..8d4a7fcb91 100755
--- a/t/t6131-pathspec-icase.sh
+++ b/t/t6131-pathspec-icase.sh
@@ -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 &&