tests: remove last uses of GIT_TEST_GETTEXT_POISON=false
Follow-up my 73c01d25fe2 (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 466f94ec45e (Merge branch 'ab/detox-gettext-tests', 2021-02-10) and c7d6d419b0d (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>
Ævar Arnfjörð Bjarmason committed
Feb 11, 2021 at 02:53 UTC
780aa0a21e0debfe861728af4ba15873d8a02be8
1 file changed
+4
-8
t/t3800-mktag.sh
+4
-8
@@ -13,13 +13,11 @@ test_description='git mktag: tag object verify test'
13
14
check_verify_failure () {
15
test_expect_success "$1" "
16
- test_must_fail env GIT_TEST_GETTEXT_POISON=false \
17
- git mktag <tag.sig 2>message &&
16
+ test_must_fail git mktag <tag.sig 2>message &&
17
grep '$2' message &&
18
if test '$3' != '--no-strict'
19
then
21
- test_must_fail env GIT_TEST_GETTEXT_POISON=false \
22
- git mktag --no-strict <tag.sig 2>message.no-strict &&
20
+ test_must_fail git mktag --no-strict <tag.sig 2>message.no-strict &&xb
21
grep '$2' message.no-strict
22
fi
23
"
@@ -443,11 +441,9 @@ test_expect_success 'invalid header entry config & fsck' '
441
git -c fsck.extraHeaderEntry=ignore mktag --no-strict <tag.sig &&
442
443
git fsck &&
446
- env GIT_TEST_GETTEXT_POISON=false \
447
- git -c fsck.extraHeaderEntry=warn fsck 2>err &&
444
+ git -c fsck.extraHeaderEntry=warn fsck 2>err &&
445
grep "warning .*extraHeaderEntry:" err &&
449
- test_must_fail env GIT_TEST_GETTEXT_POISON=false \
450
- git -c fsck.extraHeaderEntry=error 2>err fsck &&
446
+ test_must_fail git -c fsck.extraHeaderEntry=error 2>err fsck &&
447
grep "error .* extraHeaderEntry:" err
448
'
449