diff options
author | Junio C Hamano <junkio@cox.net> | 2006-01-05 20:14:40 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-01-05 20:14:40 -0800 |
commit | 6ce183216d6c4b234d4515c21a864615cd278d0b (patch) | |
tree | 806aa90882218d520df2726381e9a871c837c4f4 /t/t3300-funny-names.sh | |
parent | aa66c7ec77d474b737da607d6cb2d07f56628def (diff) | |
download | git-6ce183216d6c4b234d4515c21a864615cd278d0b.tar.gz |
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>
Diffstat (limited to 't/t3300-funny-names.sh')
-rwxr-xr-x | t/t3300-funny-names.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/t/t3300-funny-names.sh b/t/t3300-funny-names.sh index 6a85d67c57..72a93da08c 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' \ |