3 # Test multi-domain handling.
6 trap 'rm -fr $tmpfiles' 1 2 3 15
8 tmpfiles
="$tmpfiles mm-test8.po"
9 cat <<\EOF
> mm-test8.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-test8.pot"
36 cat <<EOF > mm-test8.pot
41 tmpfiles
="$tmpfiles mm-test8.out"
42 : ${MSGMERGE=msgmerge}
43 ${MSGMERGE} --multi-domain -q mm-test8.po mm-test8.pot
-o mm-test8.out
44 test $?
= 0 ||
{ rm -fr $tmpfiles; exit 1; }
46 tmpfiles
="$tmpfiles mm-test8.ok"
47 cat <<\EOF
> mm-test8.ok
51 msgstr
"Content-Type: text/plain; charset=ISO-8859-1\n"
53 # Das ist ein Kommentar.
65 msgstr
"Content-Type: text/plain; charset=ISO-8859-1\n"
67 # Ceci est un commentaire.
78 ${DIFF} mm-test8.ok mm-test8.out