3 # Test --more-than=0; identical message are wanted once only.
6 trap 'rm -fr $tmpfiles' 1 2 3 15
8 tmpfiles="$tmpfiles mcomm-test18.in1 mcomm-test18.in2"
9 cat <<EOF > mcomm-test18.in1
16 cat <<EOF > mcomm-test18.in2
23 tmpfiles="$tmpfiles mcomm-test18.tmp mcomm-test18.out"
25 ${MSGCOMM} --more-than=0 -o mcomm-test18.tmp mcomm-test18.in1 mcomm-test18.in2
26 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
27 LC_ALL=C tr -d '\r' < mcomm-test18.tmp > mcomm-test18.out
28 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
30 tmpfiles="$tmpfiles mcomm-test18.ok"
31 cat << EOF > mcomm-test18.ok
33 #: first.c:123 hunt.c:759
39 ${DIFF} mcomm-test18.ok mcomm-test18.out