summaryrefslogtreecommitdiff
path: root/t/t5411/common-functions.sh
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-01-20 18:27:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-01-21 23:50:03 (GMT)
commit73c01d25fe254208befe099a659916d2bff5bbb4 (patch)
tree275ac23802e809be7d41c3324e57dc47761f8401 /t/t5411/common-functions.sh
parentd162b25f9568c0e874570dfdbdae74f767b6836b (diff)
downloadgit-73c01d25fe254208befe099a659916d2bff5bbb4.zip
git-73c01d25fe254208befe099a659916d2bff5bbb4.tar.gz
git-73c01d25fe254208befe099a659916d2bff5bbb4.tar.bz2
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 <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5411/common-functions.sh')
-rw-r--r--t/t5411/common-functions.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/t/t5411/common-functions.sh b/t/t5411/common-functions.sh
index 344d13f..13107fc 100644
--- a/t/t5411/common-functions.sh
+++ b/t/t5411/common-functions.sh
@@ -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/ *\$//" \