@@ -344,7 +344,7 @@ test_expect_success 'large attributes line ignored in tree' '
344
344
printf "path %02043d" 1 >.gitattributes &&
345
345
git check-attr --all path >actual 2>err &&
346
346
echo "warning: ignoring overly long attributes line 1" >expect &&
347
- test_i18ncmp expect err &&
347
+ test_cmp expect err &&
348
348
test_must_be_empty actual
349
349
'
350
350
@@ -357,7 +357,7 @@ test_expect_success 'large attributes line ignores trailing content in tree' '
357
357
printf "a %02045dtrailing attribute\n" 1 >.gitattributes &&
358
358
git check-attr --all trailing >actual 2>err &&
359
359
echo "warning: ignoring overly long attributes line 1" >expect &&
360
- test_i18ncmp expect err &&
360
+ test_cmp expect err &&
361
361
test_must_be_empty actual
362
362
'
363
363
@@ -366,7 +366,7 @@ test_expect_success EXPENSIVE 'large attributes file ignored in tree' '
366
366
dd if=/dev/zero of=.gitattributes bs=101M count=1 2>/dev/null &&
367
367
git check-attr --all path >/dev/null 2>err &&
368
368
echo "warning: ignoring overly large gitattributes file ${SQ}.gitattributes${SQ}" >expect &&
369
- test_i18ncmp expect err
369
+ test_cmp expect err
370
370
'
371
371
372
372
test_expect_success ' large attributes line ignored in index' '
@@ -375,7 +375,7 @@ test_expect_success 'large attributes line ignored in index' '
375
375
git update-index --add --cacheinfo 100644,$blob,.gitattributes &&
376
376
git check-attr --cached --all path >actual 2>err &&
377
377
echo "warning: ignoring overly long attributes line 1" >expect &&
378
- test_i18ncmp expect err &&
378
+ test_cmp expect err &&
379
379
test_must_be_empty actual
380
380
'
381
381
@@ -385,7 +385,7 @@ test_expect_success 'large attributes line ignores trailing content in index' '
385
385
git update-index --add --cacheinfo 100644,$blob,.gitattributes &&
386
386
git check-attr --cached --all trailing >actual 2>err &&
387
387
echo "warning: ignoring overly long attributes line 1" >expect &&
388
- test_i18ncmp expect err &&
388
+ test_cmp expect err &&
389
389
test_must_be_empty actual
390
390
'
391
391
0 commit comments