#!/bin/sh ###################################################### # # Test show of one part, fixed by # 31cba404636730df219dd009ca5893ccc56d46af # ###################################################### set -e 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 a text/plain subpart. msgfile=$(mhpath new) msgnum=$(basename $msgfile) cat > $msgfile < $expected < $actual 2>&1 diff -u $expected $actual && rm -f $expected $actual