3 # Test compendium option.
6 trap 'rm -fr $tmpfiles' 1 2 3 15
8 tmpfiles="$tmpfiles mm-c-1.in1 mm-c-1.com mm-c-1.pot"
15 cat <<EOF > mm-c-1.com
21 cat <<EOF > mm-c-1.pot
31 tmpfiles="$tmpfiles mm-c-1.tmp mm-c-1.out"
32 : ${MSGMERGE=msgmerge}
33 ${MSGMERGE} -q -C mm-c-1.com -o mm-c-1.tmp mm-c-1.in1 mm-c-1.pot
34 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
35 LC_ALL=C tr -d '\r' < mm-c-1.tmp > mm-c-1.out
36 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
38 tmpfiles="$tmpfiles mm-c-1.ok"
39 cat << EOF > mm-c-1.ok
50 ${DIFF} mm-c-1.ok mm-c-1.out