Skip to content
  • Ævar Arnfjörð Bjarmason's avatar
    tests: fix tests broken under GETTEXT_POISON=YesPlease · 0d75bfe6
    Ævar Arnfjörð Bjarmason authored and Junio C Hamano's avatar Junio C Hamano committed
    The GETTEXT_POISON=YesPlease compile-time testing option added in my
    bb946bba
    
     ("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: default avatarÆvar Arnfjörð Bjarmason <avarab@gmail.com>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    0d75bfe6