X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b7cbd7c8a39920669db61d331b12839f2a2d3562..8aeb28b95bce93b69967f612ee437b66b61a332b:/test/rcv/test-rcvpack diff --git a/test/rcv/test-rcvpack b/test/rcv/test-rcvpack index d15e047d..ebae2286 100755 --- a/test/rcv/test-rcvpack +++ b/test/rcv/test-rcvpack @@ -19,7 +19,7 @@ setup_test # Use proper program, likely not the first one on PATH. rcvpack="${MH_LIBEXEC_DIR}/rcvpack" -$rcvpack - >/dev/null 2>&1 || true # gcov +check_exit '-eq 1' $rcvpack - expected="$MH_TEST_DIR/$$.expected" actual="$MH_TEST_DIR/$$.actual" @@ -36,7 +36,7 @@ Usage: rcvpack [switches] file EOF #### Skip nmh intro text. -run_prog "$rcvpack" -help | sed '/^$/,$d' >"$actual" 2>&1 +run_prog "$rcvpack" -help 2>&1 | sed '/^$/,$d' >"$actual" check "$expected" "$actual" # check -version