3 # Test --more-than=0 option.
6 trap 'rm -fr $tmpfiles' 1 2 3 15
8 tmpfiles
="$tmpfiles mcomm-test1.in1 mcomm-test1.in2"
9 cat <<EOF > mcomm-test1.in1
15 cat <<EOF > mcomm-test1.in2
21 tmpfiles
="$tmpfiles mcomm-test1.out"
23 ${MSGCOMM} --more-than=0 -o mcomm-test1.out mcomm-test1.in1 mcomm-test1.in2
24 test $?
= 0 ||
{ rm -fr $tmpfiles; exit 1; }
26 tmpfiles
="$tmpfiles mcomm-test1.ok"
27 cat << EOF > mcomm-test1.ok
38 ${DIFF} mcomm-test1.ok mcomm-test1.out