diff options
author | Bruno Haible <bruno@clisp.org> | 2003-02-14 15:39:48 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:09:50 +0200 |
commit | 65e5de5d8a402c6bbad0d595807d402eb45aa13c (patch) | |
tree | afc72ea55fc832939128ab727fd225196c0ea158 /tests | |
parent | 017875af6f04fce72ddf1360d8a0562b5993cc45 (diff) | |
download | external_gettext-65e5de5d8a402c6bbad0d595807d402eb45aa13c.zip external_gettext-65e5de5d8a402c6bbad0d595807d402eb45aa13c.tar.gz external_gettext-65e5de5d8a402c6bbad0d595807d402eb45aa13c.tar.bz2 |
Move tests/msgfmt-6 to gettext-tools/tests/msgfmt-6.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/msgfmt-6 | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/tests/msgfmt-6 b/tests/msgfmt-6 deleted file mode 100755 index 5c79107..0000000 --- a/tests/msgfmt-6 +++ /dev/null @@ -1,36 +0,0 @@ -#! /bin/sh - -# Test catching of division by zero in plural expression. - -# Note: On AIX 3 with xlc, this test fails. To make it work, add "-qcheck" -# to the CFLAGS, or use gcc. - -tmpfiles="" -trap 'rm -fr $tmpfiles' 1 2 3 15 - -tmpfiles="$tmpfiles mf-6.po" -cat <<EOF > mf-6.po -msgid "" -msgstr "" -"Project-Id-Version: msgfmt test 4\n" -"PO-Revision-Date: 2001-09-23 15:03+0200\n" -"Last-Translator: Bruno Haible <haible@clisp.cons.org>\n" -"Language-Team: test <test@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ASCII\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(1 + (1 / (n - 257)));\n" -EOF - -tmpfiles="$tmpfiles mf-6.mo core *.core" -: ${MSGFMT=msgfmt} -${MSGFMT} --check -o mf-6.mo mf-6.po 2>/dev/null -# Exit code must be 1. -# If the division by zero didn't get noticed, it would be 0. -# If it produced a core dump, it would be 136 (= 128 + SIGFPE). -test $? = 1 -result=$? - -rm -fr $tmpfiles - -exit $result |