diff options
Diffstat (limited to 'gettext-tools')
-rw-r--r-- | gettext-tools/tests/ChangeLog | 5 | ||||
-rwxr-xr-x | gettext-tools/tests/msgfilter-sr-latin-1 | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog index df01d7a..f5062e0 100644 --- a/gettext-tools/tests/ChangeLog +++ b/gettext-tools/tests/ChangeLog @@ -1,3 +1,8 @@ +2012-01-15 Bruno Haible <bruno@clisp.org> + + Avoid test failure on Solaris 11. + * msgfilter-sr-latin-1: Skip the test if the PO file is incorrect. + 2011-06-02 Bruno Haible <bruno@clisp.org> * xgettext-python-1: Update expected result after linebreaking in diff --git a/gettext-tools/tests/msgfilter-sr-latin-1 b/gettext-tools/tests/msgfilter-sr-latin-1 index 1a5d5fb..a8c0eac 100755 --- a/gettext-tools/tests/msgfilter-sr-latin-1 +++ b/gettext-tools/tests/msgfilter-sr-latin-1 @@ -308,6 +308,13 @@ msgstr "" "Уобичајени директоријум за тражење: %s\n" EOF +# On Solaris 11, the mfi-srl-1.po has a wrong contents. Apparently the handling +# of here documents in /bin/sh is too buggy. Skip the test in this case. +head -n 1 mfi-srl-1.po | grep Serbian > /dev/null || { + echo "Skipping test: /bin/sh is too buggy" + rm -fr $tmpfiles; exit 77 +} + tmpfiles="$tmpfiles mfi-srl-1.tmp mfi-srl-1.out" : ${MSGFILTER=msgfilter} ${MSGFILTER} -i mfi-srl-1.po -o mfi-srl-1.tmp recode-sr-latin |