]> diplodocus.org Git - nmh/blobdiff - test/rcv/test-rcvstore
Support mhparam -debug along with -all.
[nmh] / test / rcv / test-rcvstore
index 0f0ab0fe2660a11a687d7d824043f03034089c96..6337b89312e74f00a417fb72bcb901c80383091b 100755 (executable)
@@ -19,6 +19,8 @@ setup_test
 # Use proper program, likely not the first one on PATH.
 rcvstore="${MH_LIBEXEC_DIR}/rcvstore"
 
+check_exit '-eq 1' $rcvstore -
+
 expected=$MH_TEST_DIR/$$.expected
 expected_err=$MH_TEST_DIR/$$.expected_err
 actual=$MH_TEST_DIR/$$.actual
@@ -39,7 +41,7 @@ Usage: rcvstore [+folder] [switches]
 EOF
 
 #### Skip nmh intro text.
-run_prog "$rcvstore" -help | sed '/^$/Q' >"$actual" 2>&1
+run_prog "$rcvstore" -help | sed '/^$/,$d' >"$actual" 2>&1
 check "$expected" "$actual"
 
 # check -version