printf "path %02043d" 1 >.gitattributes &&
git check-attr --all path >actual 2>err &&
echo "warning: ignoring overly long attributes line 1" >expect &&
- test_cmp expect err &&
+ test_i18ncmp expect err &&
test_must_be_empty actual
'
printf "a %02045dtrailing attribute\n" 1 >.gitattributes &&
git check-attr --all trailing >actual 2>err &&
echo "warning: ignoring overly long attributes line 1" >expect &&
- test_cmp expect err &&
+ test_i18ncmp expect err &&
test_must_be_empty actual
'
git update-index --add --cacheinfo 100644,$blob,.gitattributes &&
git check-attr --cached --all path >actual 2>err &&
echo "warning: ignoring overly long attributes line 1" >expect &&
- test_cmp expect err &&
+ test_i18ncmp expect err &&
test_must_be_empty actual
'
git update-index --add --cacheinfo 100644,$blob,.gitattributes &&
git check-attr --cached --all trailing >actual 2>err &&
echo "warning: ignoring overly long attributes line 1" >expect &&
- test_cmp expect err &&
+ test_i18ncmp expect err &&
test_must_be_empty actual
'