chiark / gitweb /
test suite: gitattributes: Test working-tree-encoding suppression
[dgit.git] / tests / tests / gitattributes
index 9e1c246a476cf400c95b76af163663ef1c5938ca..5be7d01d29c22f7fc2d59bee56b23fad993f8e53 100755 (executable)
@@ -22,6 +22,7 @@ badattr1 () {
        printf >>af/$filename 'crlf: \r\n'
        echo >>af/$filename 'id $Id: $'
        echo >>af/$filename 'id $Id: SPLARK $'
+       printf >>af/$filename '\xEF\xBB\xBF <- UTF-8 BOM\n'
        echo >>gitattrs "af/$filename" "$attrspec"
 }
 
@@ -57,6 +58,7 @@ badattr export-ignore
 badattr export-subst
 badattr delta
 badattr encoding no-such-encoding
+badattr working-tree-encoding ISO-8859-1 UTF-16
 
 man gitattributes \
 | perl -ne 'print $1,"\n" if m/^ *(\w[-a-z]*)$/' \