X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b7cbd7c8a39920669db61d331b12839f2a2d3562..da4e8725cdfeb62527f9b900f3a21afc88e89e3a:/test/rcv/test-rcvtty diff --git a/test/rcv/test-rcvtty b/test/rcv/test-rcvtty index 4cef2b81..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 || true # 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