#!/bin/sh ###################################################### # # Test Content-Transfer-Encoding: binary (Debian #136976). # ###################################################### if [ -z "${MH_TEST_COMMON}" ]; then echo "MH_TEST_COMMON not set; try running via 'make check'" fi . ${MH_TEST_COMMON} setup_test expected=$MH_TEST_DIR/$$.expected actual=$MH_TEST_DIR/$$.actual # Write message with Content-Transfer-Encoding: binary text. msgfile=$(mhpath new) msgnum=$(basename $msgfile) cat > $msgfile < Date: Tue, 05 Mar 2002 18:20:35 +0000 This is a test; this is the body. EOF # check it cat > $expected < $actual 2>&1 diff -u $expected $actual