Code

t3902 - skip test if file system doesn't support HT in names
authorMark Levedahl <mdl123@verizon.net>
Sun, 12 Aug 2007 15:24:30 +0000 (11:24 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Aug 2007 19:58:38 +0000 (12:58 -0700)
Windows / cygwin don't support HT, LF, or TAB in file name so this test
is meaningless there.

Signed-off-by: Mark Levedahl <mdl123@verizon.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3902-quoted.sh

index 63f950b179586b2f8f7bf8d3695262795d546465..245fb3babddfeaeb361d9822780915460dfe1bab 100755 (executable)
@@ -7,6 +7,12 @@ test_description='quoted output'
 
 . ./test-lib.sh
 
+P1='pathname   with HT'
+: >"$P1" 2>&1 && test -f "$P1" && rm -f "$P1" || {
+       echo >&2 'Filesystem does not support HT in names'
+       test_done
+}
+
 FN='濱野'
 GN='純'
 HT='   '