X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/46f35e659f3bc3e808a70263bea0ec72624c8a08..52cfdad5862a445c59093edd504338f4e762057c:/test/rcv/test-rcvpack diff --git a/test/rcv/test-rcvpack b/test/rcv/test-rcvpack index 958504c6..a780c253 100755 --- a/test/rcv/test-rcvpack +++ b/test/rcv/test-rcvpack @@ -19,6 +19,8 @@ setup_test # Use proper program, likely not the first one on PATH. rcvpack="${MH_LIBEXEC_DIR}/rcvpack" +check_exit '-eq 1' $rcvpack - + expected="$MH_TEST_DIR/$$.expected" actual="$MH_TEST_DIR/$$.actual" @@ -33,7 +35,8 @@ Usage: rcvpack [switches] file -help EOF -run_prog $rcvpack -help >"$actual" 2>&1 +#### Skip nmh intro text. +run_prog "$rcvpack" -help | sed '/^$/,$d' >"$actual" 2>&1 check "$expected" "$actual" # check -version