2 ######################################################
4 # Test quoted-printable decoding.
6 ######################################################
10 if [ -z "${MH_TEST_COMMON}" ]; then
11 echo "MH_TEST_COMMON not set; try running via 'make check'"
18 expected=$MH_TEST_DIR/$$.expected
19 actual=$MH_TEST_DIR/$$.actual
21 # Write message with bogus quoted-printable data.
23 msgnum=$(basename $msgfile)
29 Content-Transfer-Encoding: quoted-printable
30 Date: Sun, 18 Dec 2005 00:52:39 +0100
44 =
\b ^H (backspace) character, probably erased = in diff output
49 Date: Sun, 18 Dec 2005 00:52:39 +0100
68 =
\b ^H (backspace) character, probably erased = in diff output
70 mhshow -nopause $msgnum > $actual 2>&1
71 diff -u $expected $actual