path: root/t/t5411/
diff options
authorÆvar Arnfjörð Bjarmason <>2021-01-20 18:27:59 (GMT)
committerJunio C Hamano <>2021-01-21 23:50:03 (GMT)
commit73c01d25fe254208befe099a659916d2bff5bbb4 (patch)
tree275ac23802e809be7d41c3324e57dc47761f8401 /t/t5411/
parentd162b25f9568c0e874570dfdbdae74f767b6836b (diff)
tests: remove uses of GIT_TEST_GETTEXT_POISON=false
As noted in previous commits we are removing the use of GIT_TEST_GETTEXT_POISON=false. These tests all relied on the facility being off, it always is off after an earlier change, but we hadn't removed the redundant assignments to "false" in the tests. I'm preserving the deletion of "error" lines in 38b9197a76a (t5411: add basic test cases for proc-receive hook, 2020-08-27), it turns out that's useful even without GIT_TEST_GETTEXT_POISON=true in play. Update a comment added in that commit to note that. Signed-off-by: Ævar Arnfjörð Bjarmason <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 't/t5411/')
1 files changed, 2 insertions, 3 deletions
diff --git a/t/t5411/ b/t/t5411/
index 344d13f..13107fc 100644
--- a/t/t5411/
+++ b/t/t5411/
@@ -36,9 +36,8 @@ create_commits_in () {
# without having to worry about future changes of the commit ID and spaces
# of the output. Single quotes are replaced with double quotes, because
# it is boring to prepare unquoted single quotes in expect text. We also
-# remove some locale error messages, which break test if we turn on
-# `GIT_TEST_GETTEXT_POISON=true` in order to test unintentional translations
-# on plumbing commands.
+# remove some locale error messages. The emitted human-readable errors are
+# redundant to the more machine-readable output the tests already assert.
make_user_friendly_and_stable_output () {
sed \
-e "s/ *\$//" \