X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/880ff2a4f8f33fede426b21858dda31b58ffd27a..a69b69121b49e6de84d0e8bf0e39ba3a96b67188:/test/anno/test-anno diff --git a/test/anno/test-anno b/test/anno/test-anno index 6d45cacf..a7755ed7 100755 --- a/test/anno/test-anno +++ b/test/anno/test-anno @@ -16,6 +16,8 @@ fi setup_test +check_exit '-eq 1' anno - # 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