Skip to content

Commit e4298cc

Browse files
committed
t0003: GETTEXT_POISON fix, part 1
In dfa6b32 (attr: ignore attribute lines exceeding 2048 bytes, 2022-12-01), we backported a patch onto v2.30.* that was originally based on a much newer version. The v2.30.* release train still has the GETTEXT_POISON CI job, though, and hence needs `test_i18n*` in its tests. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 8516dac commit e4298cc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

t/t0003-attributes.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ test_expect_success 'large attributes line ignored in tree' '
344344
printf "path %02043d" 1 >.gitattributes &&
345345
git check-attr --all path >actual 2>err &&
346346
echo "warning: ignoring overly long attributes line 1" >expect &&
347-
test_cmp expect err &&
347+
test_i18ncmp expect err &&
348348
test_must_be_empty actual
349349
'
350350

@@ -357,7 +357,7 @@ test_expect_success 'large attributes line ignores trailing content in tree' '
357357
printf "a %02045dtrailing attribute\n" 1 >.gitattributes &&
358358
git check-attr --all trailing >actual 2>err &&
359359
echo "warning: ignoring overly long attributes line 1" >expect &&
360-
test_cmp expect err &&
360+
test_i18ncmp expect err &&
361361
test_must_be_empty actual
362362
'
363363

@@ -375,7 +375,7 @@ test_expect_success 'large attributes line ignored in index' '
375375
git update-index --add --cacheinfo 100644,$blob,.gitattributes &&
376376
git check-attr --cached --all path >actual 2>err &&
377377
echo "warning: ignoring overly long attributes line 1" >expect &&
378-
test_cmp expect err &&
378+
test_i18ncmp expect err &&
379379
test_must_be_empty actual
380380
'
381381

@@ -385,7 +385,7 @@ test_expect_success 'large attributes line ignores trailing content in index' '
385385
git update-index --add --cacheinfo 100644,$blob,.gitattributes &&
386386
git check-attr --cached --all trailing >actual 2>err &&
387387
echo "warning: ignoring overly long attributes line 1" >expect &&
388-
test_cmp expect err &&
388+
test_i18ncmp expect err &&
389389
test_must_be_empty actual
390390
'
391391

0 commit comments

Comments
 (0)