No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gettext / gettext-tools / tests / msgconv-3
blob97582f111efae5109ff220095bd0ae0668c6d091
1 #! /bin/sh
3 # Test failing conversion from ISO-8859-15 to ISO-8859-1.
5 tmpfiles=""
6 trap 'rm -fr $tmpfiles' 1 2 3 15
8 tmpfiles="$tmpfiles mco-test3.po"
9 cat <<\EOF > mco-test3.po
10 msgid ""
11 msgstr ""
12 "Project-Id-Version: GNU one 1.2.3\n"
13 "POT-Creation-Date: 2000-12-11 20:49+0100\n"
14 "PO-Revision-Date: 2000-03-18 15:25+01:00\n"
15 "Last-Translator: aaa bbb <ccc@ddd>\n"
16 "Language-Team: French <fr@li.org>\n"
17 "MIME-Version: 1.0\n"
18 "Content-Type: text/plain; charset=ISO-8859-15\n"
19 "Content-Transfer-Encoding: 8bit\n"
21 #: foo.c:123
22 msgid "Werk"
23 msgstr "¼uvre"
24 EOF
26 tmpfiles="$tmpfiles mco-test3.out"
27 : ${MSGCONV=msgconv}
28 ${MSGCONV} -t ISO-8859-1 mco-test3.po -o mco-test3.out 2>/dev/null
29 test $? = 1
30 result=$?
32 rm -fr $tmpfiles
34 exit $result