3
# Test --no-location option.
6
trap 'rm -fr $tmpfiles' 1 2 3 15
8
tmpfiles="$tmpfiles mcomm-test2.in1 mcomm-test2.in2"
9
cat <<EOF > mcomm-test2.in1
15
cat <<EOF > mcomm-test2.in2
21
tmpfiles="$tmpfiles mcomm-test2.tmp mcomm-test2.out"
23
${MSGCOMM} --more-than=0 --no-location -o mcomm-test2.tmp \
24
mcomm-test2.in1 mcomm-test2.in2
25
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
26
LC_ALL=C tr -d '\r' < mcomm-test2.tmp > mcomm-test2.out
27
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
29
tmpfiles="$tmpfiles mcomm-test2.ok"
30
cat << EOF > mcomm-test2.ok
39
${DIFF} mcomm-test2.ok mcomm-test2.out