actual=$MH_TEST_DIR/$$.actual
# Write message with Content-Transfer-Encoding: binary text.
-msgfile=$(mhpath new)
-msgnum=$(basename $msgfile)
+msgfile=`mhpath new`
+msgnum=`basename $msgfile`
cat > $msgfile <<EOF
Content-Transfer-Encoding: binary
To: bar@example.edu
# check it
cat > $expected <<EOF
+[ Message inbox:11 ]
Date: Tue, 05 Mar 2002 18:20:35 +0000
To: bar@example.edu
From: foo@example.edu
MIME-Version: 1.0
Content-Disposition: inline
-part text/plain 34
+[ part - text/plain - 34B ]
This is a test; this is the body.
EOF
-mhshow -nopause $msgnum > $actual 2>&1
-diff -u $expected $actual
+run_prog mhshow $msgnum > $actual 2>&1
+check "$expected" "$actual" : C-T-E binary text
+
+exit $failed
+