1#! /bin/sh 2 3# Test failing conversion from ISO-8859-15 to ISO-8859-1. 4 5tmpfiles="" 6trap 'rm -fr $tmpfiles' 1 2 3 15 7 8tmpfiles="$tmpfiles mco-test3.po" 9cat <<\EOF > mco-test3.po 10msgid "" 11msgstr "" 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" 20 21#: foo.c:123 22msgid "Werk" 23msgstr "�uvre" 24EOF 25 26tmpfiles="$tmpfiles mco-test3.out" 27: ${MSGCONV=msgconv} 28${MSGCONV} -t ISO-8859-1 mco-test3.po -o mco-test3.out 2>/dev/null 29test $? = 1 30result=$? 31 32rm -fr $tmpfiles 33 34exit $result 35