X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/e107aac243dbd4021e57f4c455c7e3ffd82b819e..01a5e0594cb7590536a7d9903081872185c1e72c:/test/inc/test-deb359167 diff --git a/test/inc/test-deb359167 b/test/inc/test-deb359167 index af49b878..c35d82b5 100755 --- a/test/inc/test-deb359167 +++ b/test/inc/test-deb359167 @@ -16,9 +16,9 @@ require_prog valgrind THISDIR="$srcdir/test/inc" TESTMBOX="$THISDIR/deb359167.mbox" -if [ "$(output_md5 "$TESTMBOX" | cut -d ' ' -f 1)" != "e6ac458b8cccba2b2fd866fb505aeb5e" ]; then - echo "Test mailbox has been corrupted" - exit 1 +if [ "`output_md5 "$TESTMBOX"`" != "e6ac458b8cccba2b2fd866fb505aeb5e" ]; then + echo "Test mailbox has been corrupted" + exit 1 fi # @@ -27,5 +27,6 @@ fi # chmod 755 ${MH_INST_DIR}${bindir}/inc +file ${MH_INST_DIR}${bindir}/inc valgrind --error-exitcode=1 --quiet inc -silent -file "$TESTMBOX"