2 ######################################################
4 # Test Content-Transfer-Encoding: binary (Debian #136976).
6 ######################################################
8 if test -z "${MH_OBJ_DIR}"; then
9 srcdir=`dirname "$0"`/../..
10 MH_OBJ_DIR=`cd "$srcdir" && pwd`; export MH_OBJ_DIR
13 . "$MH_OBJ_DIR/test/common.sh"
16 expected=$MH_TEST_DIR/$$.expected
17 actual=$MH_TEST_DIR/$$.actual
19 # Write message with Content-Transfer-Encoding: binary text.
21 msgnum=$(basename $msgfile)
23 Content-Transfer-Encoding: binary
25 Content-Type: text/plain
29 Content-Disposition: inline
30 Message-Id: <20698507875204@example.com>
31 Date: Tue, 05 Mar 2002 18:20:35 +0000
33 This is a test; this is the body.
38 Date: Tue, 05 Mar 2002 18:20:35 +0000
44 Content-Disposition: inline
47 This is a test; this is the body.
49 mhshow -nopause $msgnum > $actual 2>&1
50 check "$expected" "$actual"