# Use proper program, likely not the first one on PATH.
rcvdist="${MH_LIBEXEC_DIR}/rcvdist"
+check_exit '-eq 1' $rcvdist -
+
expected=$MH_TEST_DIR/$$.expected
actual=$MH_TEST_DIR/$$.actual
-help
EOF
-run_prog $rcvdist -help >"$actual" 2>&1
+#### Skip nmh intro text.
+run_prog "$rcvdist" -help | sed '/^$/,$d' >"$actual" 2>&1
check "$expected" "$actual"
# check -version
# 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