#!/bin/sh # Test a variant of a mailbox which caused debian bug 359167. set -e . $MH_TEST_COMMON THISDIR="tests/inc" require_prog valgrind TESTMBOX="$THISDIR/deb359167.mbox" if [ "$(cksum "$TESTMBOX")" != \ "2235746290 3324 tests/inc/deb359167.mbox" ]; then echo "Test mailbox has been corrupted" exit 1 fi valgrind --error-exitcode=1 --quiet inc -silent -file "$TESTMBOX"