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

Use testlib to skip t3300-funny-names

From
Alex Riesen <raa.lkml@gmail.com>
Date
Jan 5, 2006, 11:53 UTC
Message-ID
<81b0412b0601050353o6b96ed4fp2a6d24dd514cc9c2@mail.gmail.com>

The test cannot be run on cygwin anyway. Corrected the error message to reflect the problem source.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Subject: [PATCH] Use testlib to skip the test (it cannot be run on cygwin)
Correct the error message to reflect the problem source
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
---
 t/t3300-funny-names.sh |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
721ca495bbbff1d387aa48ae401b7a14fb486ac0
diff --git a/t/t3300-funny-names.sh b/t/t3300-funny-names.sh
index 6a85d67..5d70594 100755
--- a/t/t3300-funny-names.sh
+++ b/t/t3300-funny-names.sh
@@ -9,11 +9,15 @@ This test tries pathnames with funny cha
 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
 
+# Since FAT/NTFS does not allow tabs in filenames, skip this test.
+# Windows also have unexplainable problems with names containing only spaces.
+if [ "$(uname -o 2>/dev/null)" = Cygwin ]; then
+    say 'FAT and NTFS on Windows do not allow tabs in filenames, test skipped'
+    test_done
+fi
+
 p0='no-funny'
 p1='tabs	," (dq) and spaces'
 p2='just space'
-- 
1.0.GIT
Next: Junio C Hamano
Message 1 of 3 in “Use testlib to skip t3300-funny-names”
  1. Alex RiesenJan 5, 2006
  2. Junio C HamanoJan 6, 2006
  3. Alex RiesenJan 7, 2006

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.