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.out"
60 : ${MSGMERGE=msgmerge}
61 LC_MESSAGES
=C LC_ALL
= \
62 ${MSGMERGE} -q mm-test6.in1.po mm-test6.in2.po
-o mm-test6.out
63 test $?
= 0 ||
{ rm -fr $tmpfiles; exit 1; }
65 tmpfiles
="$tmpfiles mm-test6.ok"
66 cat <<\EOF
> mm-test6.ok
67 # SOME DESCRIPTIVE TITLE.
68 # Copyright (C) YEAR Free Software Foundation, Inc.
69 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
73 "Project-Id-Version: cog_training 1.0\n"
74 "POT-Creation-Date: 2001-04-30 18:51+0200\n"
75 "PO-Revision-Date: 2001-04-29 21:19+02:00\n"
76 "Last-Translator: Felix Natter <fnatter@gmx.net>\n"
77 "Language-Team: German <de@li.org>\n"
79 "Content-Type: text/plain; charset=ISO-8859-1\n"
80 "Content-Transfer-Encoding: 8bit\n"
82 #: cogarithmetic.cc:12 cogidmarkup.cc:288 cogroman.cc:14
86 #: cogarithmetic.cc:13 cogroman.cc:109 cogroman.cc:114
90 #: cogarithmetic.cc:14
96 ${DIFF} mm-test6.ok mm-test6.out