X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=t%2Ft3300-funny-names.sh;h=72a93da08ca28857c6e2d2c16ace65db762698d5;hb=45f75a0167b4a4693f2c6005bf7db231ca91ecc8;hp=6a85d67c57e4fc6b8ae569b8410c03830af8a231;hpb=73ab46d6d03fc38e7b57f7fb731da432d4433268;p=git.git diff --git a/t/t3300-funny-names.sh b/t/t3300-funny-names.sh index 6a85d67c..72a93da0 100755 --- a/t/t3300-funny-names.sh +++ b/t/t3300-funny-names.sh @@ -9,9 +9,6 @@ This test tries pathnames with funny characters in the working tree, index, and tree objects. ' -# since FAT/NTFS does not allow tabs in filenames, skip this test -test "$(uname -o 2>/dev/null)" = Cygwin && exit 0 - . ./test-lib.sh p0='no-funny' @@ -27,6 +24,12 @@ EOF cat >"$p1" "$p0" echo 'Foo Bar Baz' >"$p2" +test -f "$p1" && cmp "$p0" "$p1" || { + # since FAT/NTFS does not allow tabs in filenames, skip this test + say 'Your filesystem does not allow tabs in filenames, test skipped.' + test_done +} + echo 'just space no-funny' >expected test_expect_success 'git-ls-files no-funny' \