summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 13ee138)
raw | patch | inline | side by side (parent: 13ee138)
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Sun, 3 Apr 2011 13:33:39 +0000 (13:33 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 3 Apr 2011 18:06:07 +0000 (11:06 -0700) |
The t2019-checkout-ambiguous-ref.sh tests added in v1.7.4.3~12^2
examines the output for a translatable string, and must be marked
with C_LOCALE_OUTPUT; otherwise, GETTEXT_POISON=YesPlease tests
will break.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
examines the output for a translatable string, and must be marked
with C_LOCALE_OUTPUT; otherwise, GETTEXT_POISON=YesPlease tests
will break.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t2019-checkout-ambiguous-ref.sh | patch | blob | history |
index 943541d40d7ea331dd0ae85624a33b9f2258246c..cc34e5535bc5ab7441ba375540e5feec2dfb2d6b 100755 (executable)
test_cmp expect file
'
-test_expect_success 'checkout reports switch to branch' '
+test_expect_success C_LOCALE_OUTPUT 'checkout reports switch to branch' '
grep "Switched to branch" stderr &&
! grep "^HEAD is now at" stderr
'
test_cmp expect file
'
-test_expect_success VAGUENESS_SUCCESS 'checkout reports switch to branch' '
+test_expect_success VAGUENESS_SUCCESS,C_LOCALE_OUTPUT 'checkout reports switch to branch' '
grep "Switched to branch" stderr &&
! grep "^HEAD is now at" stderr
'