X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/880ff2a4f8f33fede426b21858dda31b58ffd27a..b7cbd7c8a39920669db61d331b12839f2a2d3562:/test/anno/test-anno diff --git a/test/anno/test-anno b/test/anno/test-anno index 6d45cacf..f47ae2de 100755 --- a/test/anno/test-anno +++ b/test/anno/test-anno @@ -16,6 +16,8 @@ fi setup_test +anno - >/dev/null 2>&1 || true # gcov + expected=$MH_TEST_DIR/$$.expected expected_err=$MH_TEST_DIR/$$.expected_err actual=$MH_TEST_DIR/$$.actual @@ -40,7 +42,7 @@ Usage: anno [+folder] [msgs] [switches] EOF #### Skip nmh intro text. -run_prog anno -help | sed '/^$/Q' >"$actual" 2>&1 +run_prog anno -help | sed '/^$/,$d' >"$actual" 2>&1 check "$expected" "$actual" # check -version