summaryrefslogtreecommitdiff
path: root/t/t1305-config-include.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/t1305-config-include.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/t1305-config-include.sh')
-rwxr-xr-xt/t1305-config-include.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/t/t1305-config-include.sh b/t/t1305-config-include.sh
index f1e1b28..f08cfcd 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
'