Skip to content

Commit d2cd696

Browse files
raalkmlJunio C Hamano
authored andcommitted
disable t4016-diff-quote.sh on some filesystems
... because the filesystems (most typically FAT and NTFS) do not support HT nor LF in filenames. Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
1 parent b97e911 commit d2cd696

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

t/t4016-diff-quote.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ P1='pathname with HT'
1313
P2='pathname with SP'
1414
P3='pathname
1515
with LF'
16+
: >"$P1" 2>&1 && test -f "$P1" && rm -f "$P1" || {
17+
echo >&2 'Filesystem does not support tabs in names'
18+
test_done
19+
}
1620

1721
test_expect_success setup '
1822
echo P0.0 >"$P0.0" &&

0 commit comments

Comments
 (0)