author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Mon, 30 Aug 2010 16:59:13 +0000 (16:59 +0000) | ||
committer | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Sat, 30 Oct 2010 07:10:07 +0000 (07:10 +0000) | ||
commit | 15012b7ecc4c304edeadda8c53836985ecee98e7 | |
tree | 26ce30b6bccb843cdbea04995fee9de544a14792 | tree | snapshot |
parent | 14dcd54ede904e6102129805767fc03aed554ab7 | commit | diff |
gettext tests: test re-encoding with a UTF-8 msgid under Shell
A test that tests that calling gettext on a UTF-8 msgid works, and
that recoding the resulting string works too.
This test uses the --from-code=UTF-8 xgettext(1) argument introduced
in an earlier patch.
This patch only tests the shellscript portion of our gettext
interface. I can't get any of these tests to fail on any of the
gettext implementations I have around, even without the previous patch
to gettext.c. But having exhaustive tests in this area is good
regardless.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
A test that tests that calling gettext on a UTF-8 msgid works, and
that recoding the resulting string works too.
This test uses the --from-code=UTF-8 xgettext(1) argument introduced
in an earlier patch.
This patch only tests the shellscript portion of our gettext
interface. I can't get any of these tests to fail on any of the
gettext implementations I have around, even without the previous patch
to gettext.c. But having exhaustive tests in this area is good
regardless.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
po/is.po | diff | blob | history | |
t/t0200/test.c | diff | blob | history | |
t/t0204-gettext-reencode-sanity.sh | diff | blob | history |