]>
diplodocus.org Git - nmh/blob - test/mhshow/test-qp
2 ######################################################
4 # Test quoted-printable decoding.
6 ######################################################
10 if test -z "${MH_OBJ_DIR}"; then
11 srcdir
=`dirname "$0"`/..
/..
12 MH_OBJ_DIR
=`cd "$srcdir" && pwd`; export MH_OBJ_DIR
15 .
"$MH_OBJ_DIR/test/common.sh"
19 expected
=$MH_TEST_DIR/$$.expected
20 actual
=$MH_TEST_DIR/$$.actual
22 # Write message with bogus quoted-printable data.
24 msgnum
=`basename $msgfile`
30 Content-Transfer-Encoding: quoted-printable
31 Date: Sun, 18 Dec 2005 00:52:39 +0100
45 =\b ^H (backspace) character, probably erased = in diff output
51 Date: Sun, 18 Dec 2005 00:52:39 +0100
58 [ part - text/plain - 181B ]
70 =\b ^H (backspace) character, probably erased = in diff output
72 run_prog mhshow
$msgnum > $actual 2>&1
73 check
"$expected" "$actual" : bogus quoted
-printable data