]> diplodocus.org Git - nmh/blobdiff - test/rcv/test-rcvdist
uip/mhoutsbr.c: Move exported prototype to new header file.
[nmh] / test / rcv / test-rcvdist
index 720b1bfe3b5e7c3ce410b404273d8c26048ee0e7..857a4edce37d2613fcaa370aff5e79aa14eb5817 100755 (executable)
@@ -19,6 +19,8 @@ setup_test
 # Use proper program, likely not the first one on PATH.
 rcvdist="${MH_LIBEXEC_DIR}/rcvdist"
 
 # 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
 
 expected=$MH_TEST_DIR/$$.expected
 actual=$MH_TEST_DIR/$$.actual
 
@@ -33,7 +35,7 @@ Usage: rcvdist [switches] [switches for postproc] address ...
 EOF
 
 #### Skip nmh intro text.
 EOF
 
 #### Skip nmh intro text.
-run_prog "$rcvdist" -help | sed '/^$/Q' >"$actual" 2>&1
+run_prog "$rcvdist" -help | sed '/^$/,$d' >"$actual" 2>&1
 check "$expected" "$actual"
 
 # check -version
 check "$expected" "$actual"
 
 # check -version