t2019-checkout-ambiguous-ref.sh: depend on C_LOCALE_OUTPUT
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>
Ævar Arnfjörð Bjarmason committed
Apr 3, 2011 at 13:33 UTC
6b3d83efaceefdc198df270c7ad6e9fbf51c7537
1 file changed
+2
-2
t/t2019-checkout-ambiguous-ref.sh
+2
-2
@@ -29,7 +29,7 @@ test_expect_success 'checkout chooses branch over tag' '
29
test_cmp expect file
30
'
31
32
-test_expect_success 'checkout reports switch to branch' '
32
+test_expect_success C_LOCALE_OUTPUT 'checkout reports switch to branch' '
33
grep "Switched to branch" stderr &&
34
! grep "^HEAD is now at" stderr
35
'
@@ -51,7 +51,7 @@ test_expect_success VAGUENESS_SUCCESS 'checkout chooses branch over tag' '
51
test_cmp expect file
52
'
53
54
-test_expect_success VAGUENESS_SUCCESS 'checkout reports switch to branch' '
54
+test_expect_success VAGUENESS_SUCCESS,C_LOCALE_OUTPUT 'checkout reports switch to branch' '
55
grep "Switched to branch" stderr &&
56
! grep "^HEAD is now at" stderr
57
'