]> git.ipfire.org Git - thirdparty/git.git/commit - t/t0027-auto-crlf.sh
tests: fix tests broken under GETTEXT_POISON=YesPlease
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 5 May 2017 18:19:32 +0000 (18:19 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 May 2017 09:44:38 +0000 (18:44 +0900)
commit0d75bfe67bfd7538c0188f862fb4770f09620b8d
treeb13b0530b31b9b417d0592cc4e16532c9f747bb3
parent4fa66c85f11bc5a541462ca5ae3246aa0ce02e74
tests: fix tests broken under GETTEXT_POISON=YesPlease

The GETTEXT_POISON=YesPlease compile-time testing option added in my
bb946bba76 ("i18n: add GETTEXT_POISON to simulate unfriendly
translator", 2011-02-22) has been slowly bitrotting as strings have
been marked for translation, and new tests have been added without
running it.

I brought this up on the list ("[BUG] test suite broken with
GETTEXT_POISON=YesPlease", [1]) asking whether this mode was useful at
all anymore. At least one person occasionally uses it, and Lars
Schneider offered to change one of the the Travis builds to run in
this mode, so fix up the failing ones.

My test setup runs most of the tests, with the notable exception of
skipping all the p4 tests, so it's possible that there's still some
lurking regressions I haven't fixed.

1. <CACBZZX62+acvi1dpkknadTL827mtCm_QesGSZ=6+UnyeMpg8+Q@mail.gmail.com>

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
15 files changed:
t/t0027-auto-crlf.sh
t/t1309-early-config.sh
t/t1430-bad-ref-name.sh
t/t3203-branch-output.sh
t/t3404-rebase-interactive.sh
t/t3415-rebase-autosquash.sh
t/t3903-stash.sh
t/t4205-log-pretty-formats.sh
t/t5316-pack-delta-depth.sh
t/t6134-pathspec-in-submodule.sh
t/t7004-tag.sh
t/t7406-submodule-update.sh
t/t7508-status.sh
t/t7509-commit.sh
t/t7800-difftool.sh