Skip some git diff tests if the file system does not support funny names.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
This commit is contained in:
Johannes Sixt
2007-07-23 22:11:54 +02:00
parent c603988c10
commit 7e6ad42588

View File

@@ -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}" \