summaryrefslogtreecommitdiff
path: root/t/t2019-checkout-ambiguous-ref.sh
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2011-04-03 13:33:39 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-04-03 18:06:07 (GMT)
commit6b3d83efaceefdc198df270c7ad6e9fbf51c7537 (patch)
tree7884d2bdaf9cfb7b7118a8445eeab99f7ba04e99 /t/t2019-checkout-ambiguous-ref.sh
parent13ee1384ef0004bd9fa6e4d2b832b49ce2e8a032 (diff)
downloadgit-6b3d83efaceefdc198df270c7ad6e9fbf51c7537.zip
git-6b3d83efaceefdc198df270c7ad6e9fbf51c7537.tar.gz
git-6b3d83efaceefdc198df270c7ad6e9fbf51c7537.tar.bz2
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>
Diffstat (limited to 't/t2019-checkout-ambiguous-ref.sh')
-rwxr-xr-xt/t2019-checkout-ambiguous-ref.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t2019-checkout-ambiguous-ref.sh b/t/t2019-checkout-ambiguous-ref.sh
index 943541d..cc34e55 100755
--- a/t/t2019-checkout-ambiguous-ref.sh
+++ b/t/t2019-checkout-ambiguous-ref.sh
@@ -29,7 +29,7 @@ test_expect_success 'checkout chooses branch over tag' '
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
'
@@ -51,7 +51,7 @@ test_expect_success VAGUENESS_SUCCESS 'checkout chooses branch over tag' '
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
'