3 # Test multi-domain handling.
6 trap 'rm -fr $tmpfiles' 1 2 3 15
8 tmpfiles="$tmpfiles mm-test7.po"
9 cat <<\EOF > mm-test7.po
12 msgstr "Content-Type: text/plain; charset=ISO-8859-1\n"
14 # Das ist ein Kommentar.
24 msgstr "Content-Type: text/plain; charset=ISO-8859-1\n"
26 # Ceci est un commentaire.
35 tmpfiles="$tmpfiles mm-test7.pot"
36 cat <<EOF > mm-test7.pot
45 tmpfiles="$tmpfiles mm-test7.tmp mm-test7.out"
46 : ${MSGMERGE=msgmerge}
47 ${MSGMERGE} -q -o mm-test7.tmp mm-test7.po mm-test7.pot
48 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
49 LC_ALL=C tr -d '\r' < mm-test7.tmp > mm-test7.out
50 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
52 tmpfiles="$tmpfiles mm-test7.ok"
53 cat <<\EOF > mm-test7.ok
57 msgstr "Content-Type: text/plain; charset=ISO-8859-1\n"
59 # Das ist ein Kommentar.
71 msgstr "Content-Type: text/plain; charset=ISO-8859-1\n"
73 # Ceci est un commentaire.
84 ${DIFF} mm-test7.ok mm-test7.out