]> git.ipfire.org Git - thirdparty/git.git/commit - t/t5526-fetch-submodules.sh
i18n: do not overuse C_LOCALE_OUTPUT
authorJunio C Hamano <gitster@pobox.com>
Tue, 12 Apr 2011 18:23:23 +0000 (11:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Apr 2011 18:23:23 +0000 (11:23 -0700)
commitcabdee2c5ed55aa42784b37c1249829fca9d71b8
tree9f7463177d927e53c289bf51d635bfd569ab700e
parent2c050e017a5e7727a7448620d872d46ba22675e9
i18n: do not overuse C_LOCALE_OUTPUT

It is too coarse-grained way that led to artificial splitting of a
logically single test case into "do" and "check only without poison".
As the majority of check is done by comparing expected and actual output
stored in a file with test_cmp anyway, just introduce test_i18ncmp that
pretends the actual output matched the expected one when gettext-poison
is in effect.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5526-fetch-submodules.sh
t/test-lib.sh