File tree Expand file tree Collapse file tree 3 files changed +13
-13
lines changed
Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -271,9 +271,9 @@ test_expect_success 'git add --dry-run of non-existing file' "
271271 test_must_fail git add --dry-run track-this ignored-file >actual 2>&1
272272"
273273
274- test_expect_success C_LOCALE_OUTPUT ' git add --dry-run of an existing file output' "
274+ test_expect_success ' git add --dry-run of an existing file output' "
275275 echo \" fatal: pathspec 'ignored-file' did not match any files\" >expect &&
276- test_cmp expect actual
276+ test_i18ncmp expect actual
277277"
278278
279279cat > expect.err << \EOF
@@ -290,9 +290,9 @@ test_expect_success 'git add --dry-run --ignore-missing of non-existing file' '
290290 test_must_fail git add --dry-run --ignore-missing track-this ignored-file >actual.out 2>actual.err
291291'
292292
293- test_expect_success C_LOCALE_OUTPUT ' git add --dry-run --ignore-missing of non-existing file output' '
294- test_cmp expect.out actual.out &&
295- test_cmp expect.err actual.err
293+ test_expect_success ' git add --dry-run --ignore-missing of non-existing file output' '
294+ test_i18ncmp expect.out actual.out &&
295+ test_i18ncmp expect.err actual.err
296296'
297297
298298test_done
Original file line number Diff line number Diff line change @@ -64,17 +64,17 @@ test_expect_success \
6464 ' validate the output.' \
6565 ' compare_diff_patch current expected'
6666
67- test_expect_success C_LOCALE_OUTPUT ' favour same basenames over different ones' '
67+ test_expect_success ' favour same basenames over different ones' '
6868 cp path1 another-path &&
6969 git add another-path &&
7070 git commit -m 1 &&
7171 git rm path1 &&
7272 mkdir subdir &&
7373 git mv another-path subdir/path1 &&
74- git status | grep "renamed: .*path1 -> subdir/path1"'
74+ git status | test_i18ngrep "renamed: .*path1 -> subdir/path1"'
7575
76- test_expect_success C_LOCALE_OUTPUT ' favour same basenames even with minor differences' '
76+ test_expect_success ' favour same basenames even with minor differences' '
7777 git show HEAD:path1 | sed "s/15/16/" > subdir/path1 &&
78- git status | grep "renamed: .*path1 -> subdir/path1"'
78+ git status | test_i18ngrep "renamed: .*path1 -> subdir/path1"'
7979
8080test_done
Original file line number Diff line number Diff line change @@ -614,13 +614,13 @@ echo "fatal: --name-only does not make sense" > expect.name-only
614614echo " fatal: --name-status does not make sense" > expect.name-status
615615echo " fatal: --check does not make sense" > expect.check
616616
617- test_expect_success C_LOCALE_OUTPUT ' options no longer allowed for format-patch' '
617+ test_expect_success ' options no longer allowed for format-patch' '
618618 test_must_fail git format-patch --name-only 2> output &&
619- test_cmp expect.name-only output &&
619+ test_i18ncmp expect.name-only output &&
620620 test_must_fail git format-patch --name-status 2> output &&
621- test_cmp expect.name-status output &&
621+ test_i18ncmp expect.name-status output &&
622622 test_must_fail git format-patch --check 2> output &&
623- test_cmp expect.check output'
623+ test_i18ncmp expect.check output'
624624
625625test_expect_success ' format-patch --numstat should produce a patch' '
626626 git format-patch --numstat --stdout master..side > output &&
You can’t perform that action at this time.
0 commit comments