Skip to content

Commit

Permalink
Skip t3902-quoted.sh if the file system does not support funny names.
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Johannes Sixt authored and Junio C Hamano committed Nov 14, 2007
1 parent 8ed2fca commit 25482a3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions t/t3902-quoted.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,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}" \
Expand Down

0 comments on commit 25482a3

Please sign in to comment.