src/tests/t.lexer.boundary--
raw| 1 | #! /bin/sh |
| 2 | |
| 3 | # This checks if bogofilter/bogolexer will properly MIME decode messages |
| 4 | # that contain boundaries that end in "--". |
| 5 | |
| 6 | . ${srcdir:=.}/t.frame |
| 7 | |
| 8 | cat <<_EOF | $BOGOLEXER -p -C | grep TEST >/dev/null |
| 9 | MIME-Version: 1.0 |
| 10 | Content-Type: multipart/mixed; boundary="--boundary--" |
| 11 | |
| 12 | ----boundary-- |
| 13 | Content-Type: text/plain; charset=US-ASCII |
| 14 | Content-Transfer-Encoding: quoted-printable |
| 15 | |
| 16 | =54=45=53=54 |
| 17 | |
| 18 | ----boundary---- |
| 19 | _EOF |