git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Mark Levedahl <mdl123@verizon.net>
Date
Aug 12, 2007, 15:24 UTC
Message-ID
<11869322701036-git-send-email-mdl123@verizon.net>

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(-)
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
Message 1 of 1 in “t3902 - skip test if file system doesn't support HT in names”
  1. t3902 - skip test if file system doesn't support HT in namesMark Levedahl, Aug 12, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.