Browse Source

tests: remove last uses of GIT_TEST_GETTEXT_POISON=false

Follow-up my 73c01d25fe (tests: remove uses of
GIT_TEST_GETTEXT_POISON=false, 2021-01-20) by removing the last uses
of GIT_TEST_GETTEXT_POISON=*.

These assignments were part of branch that was in-flight at the time
of the gettext poison removal. See 466f94ec45 (Merge branch
'ab/detox-gettext-tests', 2021-02-10) and c7d6d419b0 (Merge branch
'ab/mktag', 2021-01-25) for the merging of the two branches.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Ævar Arnfjörð Bjarmason 4 years ago committed by Junio C Hamano
parent
commit
780aa0a21e
  1. 12
      t/t3800-mktag.sh

12
t/t3800-mktag.sh

@ -13,13 +13,11 @@ test_description='git mktag: tag object verify test'


check_verify_failure () { check_verify_failure () {
test_expect_success "$1" " test_expect_success "$1" "
test_must_fail env GIT_TEST_GETTEXT_POISON=false \ test_must_fail git mktag <tag.sig 2>message &&
git mktag <tag.sig 2>message &&
grep '$2' message && grep '$2' message &&
if test '$3' != '--no-strict' if test '$3' != '--no-strict'
then then
test_must_fail env GIT_TEST_GETTEXT_POISON=false \ test_must_fail git mktag --no-strict <tag.sig 2>message.no-strict &&xb
git mktag --no-strict <tag.sig 2>message.no-strict &&
grep '$2' message.no-strict grep '$2' message.no-strict
fi fi
" "
@ -443,11 +441,9 @@ test_expect_success 'invalid header entry config & fsck' '
git -c fsck.extraHeaderEntry=ignore mktag --no-strict <tag.sig && git -c fsck.extraHeaderEntry=ignore mktag --no-strict <tag.sig &&


git fsck && git fsck &&
env GIT_TEST_GETTEXT_POISON=false \ git -c fsck.extraHeaderEntry=warn fsck 2>err &&
git -c fsck.extraHeaderEntry=warn fsck 2>err &&
grep "warning .*extraHeaderEntry:" err && grep "warning .*extraHeaderEntry:" err &&
test_must_fail env GIT_TEST_GETTEXT_POISON=false \ test_must_fail git -c fsck.extraHeaderEntry=error 2>err fsck &&
git -c fsck.extraHeaderEntry=error 2>err fsck &&
grep "error .* extraHeaderEntry:" err grep "error .* extraHeaderEntry:" err
' '



Loading…
Cancel
Save