@matheusbsbs / matheus-bagliano / commits / 6ce183216d
Fork 0

t3300: skip when filesystem does not like TAB in filenames.

Instead of checking Cygwin explicitly, see if the filesystem lets us create funny filenames. Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Jan 5, 2006 at 20:14 UTC 6ce183216d6c4b234d4515c21a864615cd278d0b
1 file changed +6 -3
t/t3300-funny-names.sh
+6 -3
@@ -9,9 +9,6 @@ This test tries pathnames with funny characters in the working
9 tree, index, and tree objects.
10 '
11
12 -# since FAT/NTFS does not allow tabs in filenames, skip this test
13 -test "$(uname -o 2>/dev/null)" = Cygwin && exit 0
14 -
12 . ./test-lib.sh
13
14 p0='no-funny'
@@ -27,6 +24,12 @@ EOF
24 cat >"$p1" "$p0"
25 echo 'Foo Bar Baz' >"$p2"
26
27 +test -f "$p1" && cmp "$p0" "$p1" || {
28 + # since FAT/NTFS does not allow tabs in filenames, skip this test
29 + say 'Your filesystem does not allow tabs in filenames, test skipped.'
30 + test_done
31 +}
32 +
33 echo 'just space
34 no-funny' >expected
35 test_expect_success 'git-ls-files no-funny' \