Skip to content

Commit 780aa0a

Browse files
avargitster
authored andcommitted
tests: remove last uses of GIT_TEST_GETTEXT_POISON=false
Follow-up my 73c01d2 (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 466f94e (Merge branch 'ab/detox-gettext-tests', 2021-02-10) and c7d6d41 (Merge branch 'ab/mktag', 2021-01-25) for the merging of the two branches. Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c6102b7 commit 780aa0a

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

t/t3800-mktag.sh

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,11 @@ test_description='git mktag: tag object verify test'
1313

1414
check_verify_failure () {
1515
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 &&
1817
grep '$2' message &&
1918
if test '$3' != '--no-strict'
2019
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
2321
grep '$2' message.no-strict
2422
fi
2523
"
@@ -443,11 +441,9 @@ test_expect_success 'invalid header entry config & fsck' '
443441
git -c fsck.extraHeaderEntry=ignore mktag --no-strict <tag.sig &&
444442
445443
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 &&
448445
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 &&
451447
grep "error .* extraHeaderEntry:" err
452448
'
453449

0 commit comments

Comments
 (0)