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.out"
46 : ${MSGMERGE=msgmerge}
47 ${MSGMERGE} -q mm-test7.po mm-test7.pot
-o mm-test7.out
48 test $?
= 0 ||
{ rm -fr $tmpfiles; exit 1; }
50 tmpfiles
="$tmpfiles mm-test7.ok"
51 cat <<\EOF
> mm-test7.ok
55 msgstr
"Content-Type: text/plain; charset=ISO-8859-1\n"
57 # Das ist ein Kommentar.
69 msgstr
"Content-Type: text/plain; charset=ISO-8859-1\n"
71 # Ceci est un commentaire.
82 ${DIFF} mm-test7.ok mm-test7.out