1*946379e7Schristos#! /bin/sh 2*946379e7Schristos 3*946379e7Schristos# Test failing conversion from ISO-8859-15 to ISO-8859-1. 4*946379e7Schristos 5*946379e7Schristostmpfiles="" 6*946379e7Schristostrap 'rm -fr $tmpfiles' 1 2 3 15 7*946379e7Schristos 8*946379e7Schristostmpfiles="$tmpfiles mco-test3.po" 9*946379e7Schristoscat <<\EOF > mco-test3.po 10*946379e7Schristosmsgid "" 11*946379e7Schristosmsgstr "" 12*946379e7Schristos"Project-Id-Version: GNU one 1.2.3\n" 13*946379e7Schristos"POT-Creation-Date: 2000-12-11 20:49+0100\n" 14*946379e7Schristos"PO-Revision-Date: 2000-03-18 15:25+01:00\n" 15*946379e7Schristos"Last-Translator: aaa bbb <ccc@ddd>\n" 16*946379e7Schristos"Language-Team: French <fr@li.org>\n" 17*946379e7Schristos"MIME-Version: 1.0\n" 18*946379e7Schristos"Content-Type: text/plain; charset=ISO-8859-15\n" 19*946379e7Schristos"Content-Transfer-Encoding: 8bit\n" 20*946379e7Schristos 21*946379e7Schristos#: foo.c:123 22*946379e7Schristosmsgid "Werk" 23*946379e7Schristosmsgstr "�uvre" 24*946379e7SchristosEOF 25*946379e7Schristos 26*946379e7Schristostmpfiles="$tmpfiles mco-test3.out" 27*946379e7Schristos: ${MSGCONV=msgconv} 28*946379e7Schristos${MSGCONV} -t ISO-8859-1 mco-test3.po -o mco-test3.out 2>/dev/null 29*946379e7Schristostest $? = 1 30*946379e7Schristosresult=$? 31*946379e7Schristos 32*946379e7Schristosrm -fr $tmpfiles 33*946379e7Schristos 34*946379e7Schristosexit $result 35