X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/46f35e659f3bc3e808a70263bea0ec72624c8a08..b7cbd7c8a39920669db61d331b12839f2a2d3562:/test/rcv/test-rcvdist diff --git a/test/rcv/test-rcvdist b/test/rcv/test-rcvdist index eca96860..f11da72d 100755 --- a/test/rcv/test-rcvdist +++ b/test/rcv/test-rcvdist @@ -19,6 +19,8 @@ setup_test # Use proper program, likely not the first one on PATH. rcvdist="${MH_LIBEXEC_DIR}/rcvdist" +$rcvdist - >/dev/null 2>&1 || true # gcov + expected=$MH_TEST_DIR/$$.expected actual=$MH_TEST_DIR/$$.actual @@ -32,7 +34,8 @@ Usage: rcvdist [switches] [switches for postproc] address ... -help EOF -run_prog $rcvdist -help >"$actual" 2>&1 +#### Skip nmh intro text. +run_prog "$rcvdist" -help | sed '/^$/,$d' >"$actual" 2>&1 check "$expected" "$actual" # check -version