summaryrefslogtreecommitdiff
path: root/t/t9819-git-p4-case-folding.sh
diff options
context:
space:
mode:
authorLars Schneider <larsxschneider@gmail.com>2015-10-12 17:03:04 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-10-12 17:36:54 (GMT)
commiteb8e364969098e92743024dca170d1db3536a978 (patch)
tree83f2e4206f947184cbdeb3b9df0cecab64326985 /t/t9819-git-p4-case-folding.sh
parent3a692b3c87e5433ab0a98f1307486c9956408e30 (diff)
downloadgit-eb8e364969098e92743024dca170d1db3536a978.zip
git-eb8e364969098e92743024dca170d1db3536a978.tar.gz
git-eb8e364969098e92743024dca170d1db3536a978.tar.bz2
git-p4: skip t9819 test case on case insensitive file systems
Windows and OS X file systems are case insensitive by default. Consequently the "git-p4-case-folding" test case does not apply to them. Signed-off-by: Lars Schneider <larsxschneider@gmail.com> Acked-by: Luke Diamand <luke@diamand.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9819-git-p4-case-folding.sh')
-rwxr-xr-xt/t9819-git-p4-case-folding.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t9819-git-p4-case-folding.sh b/t/t9819-git-p4-case-folding.sh
index 78f1d0f..d808c00 100755
--- a/t/t9819-git-p4-case-folding.sh
+++ b/t/t9819-git-p4-case-folding.sh
@@ -4,6 +4,12 @@ test_description='interaction with P4 case-folding'
. ./lib-git-p4.sh
+if test_have_prereq CASE_INSENSITIVE_FS
+then
+ skip_all='skipping P4 case-folding tests; case insensitive file system detected'
+ test_done
+fi
+
test_expect_success 'start p4d with case folding enabled' '
start_p4d -C1
'