diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-01-20 21:27:59 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-01-22 02:50:03 +0300 |
commit | 73c01d25fe254208befe099a659916d2bff5bbb4 (patch) | |
tree | 275ac23802e809be7d41c3324e57dc47761f8401 /t/t1305-config-include.sh | |
parent | d162b25f9568c0e874570dfdbdae74f767b6836b (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 <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1305-config-include.sh')
-rwxr-xr-x | t/t1305-config-include.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/t/t1305-config-include.sh b/t/t1305-config-include.sh index f1e1b289f9..f08cfcdfae 100755 --- a/t/t1305-config-include.sh +++ b/t/t1305-config-include.sh @@ -352,9 +352,7 @@ test_expect_success 'include cycles are detected' ' git init --bare cycle && git -C cycle config include.path cycle && git config -f cycle/cycle include.path config && - test_must_fail \ - env GIT_TEST_GETTEXT_POISON=false \ - git -C cycle config --get-all test.value 2>stderr && + test_must_fail git -C cycle config --get-all test.value 2>stderr && grep "exceeded maximum include depth" stderr ' |