Skip to contentSkip to conversation

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

PATCH New Mark Levedahl 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 t3902 - skip test if file system doesn't support HT in names

Windows / cygwin don't support HT, LF, or TAB in file name so this test is meaningless there.

---
 t/t3902-quoted.sh |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
t/t3902-quoted.sh +6 -0
index 63f950b..245fb3b 100755
@@ -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='	'
Signature · 1 line
1.5.3.rc4.79.g9714d-dirty