#! /bin/sh
# This check sees if bogofilter can reassemble lines with spurious CR
# during QP decoding. It used to fail up to and including 1.2.0 with
# lines ending in =<CR>, not considering these as continuation.
. ${srcdir:=.}/t.frame
ifn=mime-qp-cont-with-cr.txt
ofn=mime-qp-cont-with-cr.out
efn=mime-qp-cont-with-cr.exp
cat "$srcdir/inputs/$ifn" \
| $BOGOLEXER -p -C > "$TMPDIR/$ofn"
diff $DIFF_BRIEF "$OUTPUTS/$efn" "$TMPDIR/$ofn"