2 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
4 # Test compendium option. Use it there was no "old" PO file at all
5 # (merely use /dev/null).
8 cat <<\EOF > mm-c-4.com
11 "Content-Type: text/plain; charset=iso-8859-1\n"
12 "Content-Transfer-Encoding: 8bit\n"
19 cat <<EOF > mm-c-4.pot
29 : ${MSGMERGE=msgmerge}
30 ${MSGMERGE} -q --compendium mm-c-4.com -o mm-c-4.tmp /dev/null mm-c-4.pot || exit 1
31 LC_ALL=C tr -d '\r' < mm-c-4.tmp > mm-c-4.out || exit 1
33 cat << \EOF > mm-c-4.ok
36 "Content-Type: text/plain; charset=iso-8859-1\n"
37 "Content-Transfer-Encoding: 8bit\n"
49 ${DIFF} mm-c-4.ok mm-c-4.out