X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/fa462ef71fbaf819397c59b2c07adf45a04af9f8..282e8606742769b8d641348347a348e62bfbdfb5:/test/post/test-sendfiles diff --git a/test/post/test-sendfiles b/test/post/test-sendfiles index c5f08c00..4e2eb612 100755 --- a/test/post/test-sendfiles +++ b/test/post/test-sendfiles @@ -18,7 +18,7 @@ setup_test expected=$MH_TEST_DIR/$$.expected actual=$MH_TEST_DIR/$$.actual -localmbox=`$MH_LIB_DIR/ap -format "%(localmbox)" 0` +localmbox=`$MH_LIBEXEC_DIR/ap -format "%(localmbox)" 0` #### Use this script itself for the test file. testfiledir="$srcdir/test/post" testfile=`basename $0` @@ -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