t6131 - skip tests if on case-insensitive file system
PATCH 1/1 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.
--- t/t6131-pathspec-icase.sh | 6 ++++++ 1 file changed, 6 insertions(+)
t/t6131-pathspec-icase.sh +6 -0
@@ -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 &&
Signature · 1 line
1.8.3.2.0.63
Quoted 3 lines · Mark Levedahl
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.
Yeah. I knew this when I wrote this test but forgot to put the check in. Thanks. We can re-enable the test later, as it does not really need case-insensitive filesystems.
Quoted 26 lines
Signed-off-by Mark Levedahl <[email protected]>--- t/t6131-pathspec-icase.sh | 6 ++++++ 1 file changed, 6 insertions(+)t/t6131-pathspec-icase.sh +6
-1@@ -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 && --1.8.3.2.0.63
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Duy
Quoted 8 lines · Duy Nguyen
Quoted 3 lines · Mark Levedahl
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.
Yeah. I knew this when I wrote this test but forgot to put the check in. Thanks. We can re-enable the test later, as it does not really need case-insensitive filesystems.
Yeah, I tend to agree. You do not need to create case-colliding paths for the purpose of :(icase) tests.
Quoted 33 lines
Quoted 27 lines
Signed-off-by Mark Levedahl <[email protected]>--- t/t6131-pathspec-icase.sh | 6 ++++++ 1 file changed, 6 insertions(+)t/t6131-pathspec-icase.sh +6
-1@@ -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 && --1.8.3.2.0.63
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
Duy