summaryrefslogtreecommitdiff
path: root/t/t6131-pathspec-icase.sh
diff options
context:
space:
mode:
authorMark Levedahl <mlevedahl@gmail.com>2013-07-17 13:22:16 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-07-17 19:47:59 (GMT)
commitdb6a6adabfb57d8a4dcd0491a7b7e2168dac60c1 (patch)
treefd4a7e0c28bc1fc314548cd1e9d37b737da5368e /t/t6131-pathspec-icase.sh
parent93d935371654faf2956a4c37c1ca46f3195ee832 (diff)
downloadgit-db6a6adabfb57d8a4dcd0491a7b7e2168dac60c1.zip
git-db6a6adabfb57d8a4dcd0491a7b7e2168dac60c1.tar.gz
git-db6a6adabfb57d8a4dcd0491a7b7e2168dac60c1.tar.bz2
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>
Diffstat (limited to 't/t6131-pathspec-icase.sh')
-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 3215eef..8d4a7fc 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 &&