X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c3ba36f92bcbf44e071961f3d0bb5e6ddab317d6..29f44ca7ba8bb3788df4729d7917c53c8f489d87:/test/rcv/test-rcvdist diff --git a/test/rcv/test-rcvdist b/test/rcv/test-rcvdist index 018a5aaa..55c6bf30 100755 --- a/test/rcv/test-rcvdist +++ b/test/rcv/test-rcvdist @@ -19,7 +19,7 @@ setup_test # Use proper program, likely not the first one on PATH. rcvdist="${MH_LIBEXEC_DIR}/rcvdist" -! $rcvdist - >/dev/null 2>&1 # gcov +check_exit '-eq 1' $rcvdist - expected=$MH_TEST_DIR/$$.expected actual=$MH_TEST_DIR/$$.actual @@ -67,7 +67,7 @@ test_rcvdist () # fakesendmail drops the message and any cc's into this mbox. mbox="${MH_TEST_DIR}"/Mail/fakesendmail.mbox inc -silent -file "$mbox" - rm -f "$mbox" "$mbox.map" + rm -f "$mbox" # It's hard to calculate the exact Date: header post is going to # use, so we'll just use sed to remove the actual date so we can