threads / patch / 9503

patcht3902 - skip test if file system doesn't support HT in names

Subject: [PATCH] t3902 - skip test if file system doesn't support HT in names

## tl;dr

One message between Aug 12, 2007 and Aug 12, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Mark Levedahl· Aug 12, 2007, 15:24 UTC · lore

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>
---
 t/t3902-quoted.sh |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
Show changes to t/t3902-quoted.sh +6 −0
diff --git a/t/t3902-quoted.sh b/t/t3902-quoted.sh
index 63f950b..245fb3b 100755
--- a/t/t3902-quoted.sh
+++ b/t/t3902-quoted.sh
@@ -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='	'
-- 
1.5.3.rc4.79.g9714d-dirty

← back to recent threads