X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/46f35e659f3bc3e808a70263bea0ec72624c8a08..1a2ef2eed6ab723cbf2280c01cb6e1a0500d4001:/test/post/test-sendfiles diff --git a/test/post/test-sendfiles b/test/post/test-sendfiles index 64bf2696..84f54bfe 100755 --- a/test/post/test-sendfiles +++ b/test/post/test-sendfiles @@ -58,7 +58,7 @@ test_sendfiles () # 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" mhlist -verbose last | sed -e 's/ *$//' -e 's/\(octet-stream\).*$/\1/' \ >"$actual" @@ -89,7 +89,8 @@ Usage: sendfiles [switches] -to recipient -subject subject file1 [file2 ...] Can use PERSON environment variable instead of -from switch. EOF -run_prog sendfiles -help >"$actual" 2>&1 +#### Skip nmh intro text. +run_prog sendfiles -help | sed '/^$/,$d' >"$actual" 2>&1 check "$expected" "$actual" # check -version