From 0c344bc22906f0e166f01c1b2075ecfba7dac40f Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Mon, 23 Jul 2007 22:11:54 +0200 Subject: [PATCH] Skip some git diff tests if the file system does not support funny names. Signed-off-by: Johannes Sixt --- t/t3902-quoted.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/t/t3902-quoted.sh b/t/t3902-quoted.sh index 63f950b179..e8ad85afe4 100755 --- a/t/t3902-quoted.sh +++ b/t/t3902-quoted.sh @@ -14,6 +14,13 @@ LF=' ' DQ='"' +echo foo > "Name and an${HT}HT" +test -f "Name and an${HT}HT" || { + # since FAT/NTFS does not allow tabs in filenames, skip this test + say 'Your filesystem does not allow tabs in filenames, test skipped.' + test_done +} + for_each_name () { for name in \ Name "Name and a${LF}LF" "Name and an${HT}HT" "Name${DQ}" \