git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PATCH: disable t4016-diff-quote.sh on some filesystems
@ 2007-02-20  9:07 Alex Riesen
  0 siblings, 0 replies; only message in thread
From: Alex Riesen @ 2007-02-20  9:07 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

[-- Attachment #1: Type: text/plain, Size: 183 bytes --]

because the filesystems (most typically FAT and NTFS) do not support
HT nor LF in filenames.

---
 t/t4016-diff-quote.sh |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

[-- Attachment #2: 0001-disable-t4016-diff-quote.sh-on-some-filesystems.txt --]
[-- Type: text/plain, Size: 727 bytes --]

From 0edbc6df977e7d954032eaf72720c93b86ab4c0f Mon Sep 17 00:00:00 2001
From: Alex Riesen <raa.lkml@gmail.com>
Date: Tue, 20 Feb 2007 10:04:32 +0100
Subject: [PATCH] disable t4016-diff-quote.sh on some filesystems

---
 t/t4016-diff-quote.sh |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/t/t4016-diff-quote.sh b/t/t4016-diff-quote.sh
index edde8f5..8e9422c 100755
--- a/t/t4016-diff-quote.sh
+++ b/t/t4016-diff-quote.sh
@@ -13,6 +13,10 @@ P1='pathname	with HT'
 P2='pathname with SP'
 P3='pathname
 with LF'
+if ! test : 2>/dev/null >"$P1" ; then
+	echo >&2 'Filesystem does not support tabs in names'
+	test_done
+fi
 
 test_expect_success setup '
 	echo P0.0 >"$P0.0" &&
-- 
1.5.0.rc4.84.g67fc1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-20  9:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-20  9:07 PATCH: disable t4016-diff-quote.sh on some filesystems Alex Riesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).