File tree Expand file tree Collapse file tree 6 files changed +15
-17
lines changed
Expand file tree Collapse file tree 6 files changed +15
-17
lines changed Original file line number Diff line number Diff line change @@ -135,8 +135,8 @@ test_expect_success 'push fails for non-fast-forward refs unmatched by remote he
135135 grep "^ ! \[rejected\] *master -> retsam (non-fast-forward)$" output
136136'
137137
138- test_expect_success C_LOCALE_OUTPUT ' push fails for non-fast-forward refs unmatched by remote helper: our output' '
139- grep "To prevent you from losing history, non-fast-forward updates were rejected" \
138+ test_expect_success ' push fails for non-fast-forward refs unmatched by remote helper: our output' '
139+ test_i18ngrep "To prevent you from losing history, non-fast-forward updates were rejected" \
140140 output
141141'
142142
Original file line number Diff line number Diff line change @@ -42,13 +42,13 @@ b3 behind 1
4242b4 ahead 2
4343EOF
4444
45- test_expect_success C_LOCALE_OUTPUT ' branch -v' '
45+ test_expect_success ' branch -v' '
4646 (
4747 cd test &&
4848 git branch -v
4949 ) |
5050 sed -n -e "$script" >actual &&
51- test_cmp expect actual
51+ test_i18ncmp expect actual
5252'
5353
5454test_expect_success ' checkout' '
Original file line number Diff line number Diff line change @@ -123,8 +123,8 @@ cat - >err.expect <<EOF
123123warning: tag 'A' is really 'Q' here
124124EOF
125125check_describe A-* HEAD
126- test_expect_success C_LOCALE_OUTPUT ' warning was displayed for Q' '
127- test_cmp err.expect err.actual
126+ test_expect_success ' warning was displayed for Q' '
127+ test_i18ncmp err.expect err.actual
128128'
129129test_expect_success ' rename tag Q back to A' '
130130 mv .git/refs/tags/Q .git/refs/tags/A
Original file line number Diff line number Diff line change @@ -1120,13 +1120,11 @@ test_expect_success \
11201120 ! (GIT_EDITOR=cat git tag -a initial-comment > actual)
11211121'
11221122
1123- test_expect_success \
1124- C_LOCALE_OUTPUT \
1125- ' message in editor has initial comment: first line' '
1123+ test_expect_success ' message in editor has initial comment: first line' '
11261124 # check the first line --- should be empty
11271125 echo >first.expect &&
11281126 sed -e 1q <actual >first.actual &&
1129- test_cmp first.expect first.actual
1127+ test_i18ncmp first.expect first.actual
11301128'
11311129
11321130test_expect_success \
Original file line number Diff line number Diff line change @@ -124,16 +124,16 @@ cat >expected <<EOF
124124Would remove expected
125125Would remove result
126126EOF
127- test_expect_success C_LOCALE_OUTPUT ' git-clean, absent case' '
127+ test_expect_success ' git-clean, absent case' '
128128 setup_absent &&
129129 git clean -n > result &&
130- test_cmp expected result
130+ test_i18ncmp expected result
131131'
132132
133- test_expect_success C_LOCALE_OUTPUT ' git-clean, dirty case' '
133+ test_expect_success ' git-clean, dirty case' '
134134 setup_dirty &&
135135 git clean -n > result &&
136- test_cmp expected result
136+ test_i18ncmp expected result
137137'
138138
139139# TODO test_expect_failure 'git-apply adds file' false
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ cat >expect <<EOF
3838no changes added to commit (use "git add" and/or "git commit -a")
3939EOF
4040
41- test_expect_success C_LOCALE_OUTPUT ' M/D conflict does not segfault' '
41+ test_expect_success ' M/D conflict does not segfault' '
4242 mkdir mdconflict &&
4343 (
4444 cd mdconflict &&
@@ -50,9 +50,9 @@ test_expect_success C_LOCALE_OUTPUT 'M/D conflict does not segfault' '
5050 git commit -m delete &&
5151 test_must_fail git merge master &&
5252 test_must_fail git commit --dry-run >../actual &&
53- test_cmp ../expect ../actual &&
53+ test_i18ncmp ../expect ../actual &&
5454 git status >../actual &&
55- test_cmp ../expect ../actual
55+ test_i18ncmp ../expect ../actual
5656 )
5757'
5858
You can’t perform that action at this time.
0 commit comments