summaryrefslogtreecommitdiff
path: root/t/t2020-checkout-detach.sh
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2012-04-14 04:45:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-04-14 23:16:55 (GMT)
commit76642ccec813a1cc2ca1bf9539abeb5f17764808 (patch)
treeed6bfc6d8e3f3f883bf65b01a19c64de82d1e48d /t/t2020-checkout-detach.sh
parentfdec2eb8ebbf995a77e2ab9971565c792b52944a (diff)
downloadgit-76642ccec813a1cc2ca1bf9539abeb5f17764808.zip
git-76642ccec813a1cc2ca1bf9539abeb5f17764808.tar.gz
git-76642ccec813a1cc2ca1bf9539abeb5f17764808.tar.bz2
test: do not rely on US English tracking-info messages
When v1.7.9.2~28^2 (2012-02-02) marked "Your branch is behind" and friends for translation, it forgot to adjust tests not to check those messages when tests are being run with git configured to write its output in another language. With this patch applied, t2020 and t6040 pass again with GETTEXT_POISON=YesPlease. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Explained-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2020-checkout-detach.sh')
-rwxr-xr-xt/t2020-checkout-detach.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t2020-checkout-detach.sh b/t/t2020-checkout-detach.sh
index 068fba4..b37ce25 100755
--- a/t/t2020-checkout-detach.sh
+++ b/t/t2020-checkout-detach.sh
@@ -148,7 +148,7 @@ test_expect_success 'tracking count is accurate after orphan check' '
git config branch.child.merge refs/heads/master &&
git checkout child^ &&
git checkout child >stdout &&
- test_cmp expect stdout
+ test_i18ncmp expect stdout
'
test_done