3 # Test compendium option with fuzziness.
6 trap 'rm -fr $tmpfiles' 1 2 3 15
8 tmpfiles
="$tmpfiles mm-c-2.in1 mm-c-2.com mm-c-2.pot"
15 cat <<EOF > mm-c-2.com
17 msgid "one, two, three"
21 cat <<EOF > mm-c-2.pot
27 msgid "one, two, three..."
31 tmpfiles
="$tmpfiles mm-c-2.out"
32 : ${MSGMERGE=msgmerge}
33 ${MSGMERGE} -q -C mm-c-2.com mm-c-2.in1 mm-c-2.pot
-o mm-c-2.out
34 test $?
= 0 ||
{ rm -fr $tmpfiles; exit 1; }
36 tmpfiles
="$tmpfiles mm-c-2.ok"
37 cat << EOF > mm-c-2.ok
44 msgid "one, two, three..."
49 ${DIFF} mm-c-2.ok mm-c-2.out