• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#! /bin/sh
2. "${srcdir=.}/init.sh"; path_prepend_ . ../src
3
4# Test failing conversion from ISO-8859-15 to ISO-8859-1.
5
6cat <<\EOF > mco-test3.po
7msgid ""
8msgstr ""
9"Project-Id-Version: GNU one 1.2.3\n"
10"POT-Creation-Date: 2000-12-11 20:49+0100\n"
11"PO-Revision-Date: 2000-03-18 15:25+01:00\n"
12"Last-Translator: aaa bbb <ccc@ddd>\n"
13"Language-Team: French <fr@li.org>\n"
14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=ISO-8859-15\n"
16"Content-Transfer-Encoding: 8bit\n"
17
18#: foo.c:123
19msgid "Werk"
20msgstr "�uvre"
21EOF
22
23: ${MSGCONV=msgconv}
24${MSGCONV} -t ISO-8859-1 mco-test3.po -o mco-test3.out 2>/dev/null
25test $? = 1
26result=$?
27
28exit $result
29