Skip to content

Commit

Permalink
t6131 - skip tests if on case-insensitive file system
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Levedahl authored and Junio C Hamano committed Jul 17, 2013
1 parent 93d9353 commit db6a6ad
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions t/t6131-pathspec-icase.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit db6a6ad

Please sign in to comment.