3 # Test non-ASCII character at the end of msgstr. (Triggered a glibc-2.1 bug.)
6 trap 'rm -fr $tmpfiles' 1 2 3 15
8 tmpfiles="$tmpfiles mm-test6.in1.po mm-test6.in2.po"
9 cat <<\EOF > mm-test6.in1.po
10 # SOME DESCRIPTIVE TITLE.
11 # Copyright (C) YEAR Free Software Foundation, Inc.
12 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
16 "Project-Id-Version: cog_training 1.0\n"
17 "POT-Creation-Date: 2001-04-29 22:40+0200\n"
18 "PO-Revision-Date: 2001-04-29 21:19+02:00\n"
19 "Last-Translator: Felix Natter <fnatter@gmx.net>\n"
20 "Language-Team: German <de@li.org>\n"
22 "Content-Type: text/plain; charset=ISO-8859-1\n"
23 "Content-Transfer-Encoding: 8bit\n"
25 #: cogarithmetic.cc:12 cogidmarkup.cc:288 cogroman.cc:14
30 cat <<EOF > mm-test6.in2.po
31 # SOME DESCRIPTIVE TITLE.
32 # Copyright (C) YEAR Free Software Foundation, Inc.
33 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
37 "Project-Id-Version: PACKAGE VERSION\n"
38 "POT-Creation-Date: 2001-04-30 18:51+0200\n"
39 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
40 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
41 "Language-Team: LANGUAGE <LL@li.org>\n"
43 "Content-Type: text/plain; charset=ISO-8859-1\n"
44 "Content-Transfer-Encoding: 8bit\n"
46 #: cogarithmetic.cc:12 cogidmarkup.cc:288 cogroman.cc:14
50 #: cogarithmetic.cc:13 cogroman.cc:109 cogroman.cc:114
54 #: cogarithmetic.cc:14
59 tmpfiles="$tmpfiles mm-test6.tmp mm-test6.out"
60 : ${MSGMERGE=msgmerge}
61 LC_MESSAGES=C LC_ALL= \
62 ${MSGMERGE} -q -o mm-test6.tmp mm-test6.in1.po mm-test6.in2.po
63 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
64 LC_ALL=C tr -d '\r' < mm-test6.tmp > mm-test6.out
65 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
67 tmpfiles="$tmpfiles mm-test6.ok"
68 cat <<\EOF > mm-test6.ok
69 # SOME DESCRIPTIVE TITLE.
70 # Copyright (C) YEAR Free Software Foundation, Inc.
71 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
75 "Project-Id-Version: cog_training 1.0\n"
76 "POT-Creation-Date: 2001-04-30 18:51+0200\n"
77 "PO-Revision-Date: 2001-04-29 21:19+02:00\n"
78 "Last-Translator: Felix Natter <fnatter@gmx.net>\n"
79 "Language-Team: German <de@li.org>\n"
82 "Content-Type: text/plain; charset=ISO-8859-1\n"
83 "Content-Transfer-Encoding: 8bit\n"
85 #: cogarithmetic.cc:12 cogidmarkup.cc:288 cogroman.cc:14
89 #: cogarithmetic.cc:13 cogroman.cc:109 cogroman.cc:114
93 #: cogarithmetic.cc:14
99 ${DIFF} mm-test6.ok mm-test6.out