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