X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c3ba36f92bcbf44e071961f3d0bb5e6ddab317d6..d9b33232b:/test/rcv/test-rcvtty?ds=inline diff --git a/test/rcv/test-rcvtty b/test/rcv/test-rcvtty index c8c1c2e5..fdc74d44 100755 --- a/test/rcv/test-rcvtty +++ b/test/rcv/test-rcvtty @@ -19,7 +19,7 @@ setup_test # Use proper program, likely not the first one on PATH. rcvtty="${MH_LIBEXEC_DIR}/rcvtty" -! $rcvtty - >/dev/null 2>&1 # gcov +check_exit '-eq 1' $rcvtty - expected="$MH_TEST_DIR/$$.expected" actual="$MH_TEST_DIR/$$.actual" @@ -40,7 +40,7 @@ Usage: rcvtty [command ...] EOF #### Skip nmh intro text. -run_prog "$rcvtty" -help | sed '/^$/,$d' >"$actual" 2>&1 +run_prog "$rcvtty" -help 2>&1 | sed '/^$/,$d' >"$actual" check "$expected" "$actual" # check -version