3 # Test --more-than=0; identical message are wanted once only.
4 # If both occurrences are fuzzy, keep the fuzzy mark.
7 trap 'rm -fr $tmpfiles' 1 2 3 15
9 tmpfiles="$tmpfiles mcomm-test21.in1 mcomm-test21.in2"
10 cat <<EOF > mcomm-test21.in1
18 cat <<EOF > mcomm-test21.in2
26 tmpfiles="$tmpfiles mcomm-test21.tmp mcomm-test21.out"
28 ${MSGCOMM} --more-than=0 -o mcomm-test21.tmp mcomm-test21.in1 mcomm-test21.in2
29 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
30 LC_ALL=C tr -d '\r' < mcomm-test21.tmp > mcomm-test21.out
31 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
33 tmpfiles="$tmpfiles mcomm-test21.ok"
34 cat << EOF > mcomm-test21.ok
36 #: first.c:123 hunt.c:759
43 ${DIFF} mcomm-test21.ok mcomm-test21.out