X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b7cbd7c8a39920669db61d331b12839f2a2d3562..da4e8725cdfeb62527f9b900f3a21afc88e89e3a:/test/anno/test-anno?ds=sidebyside diff --git a/test/anno/test-anno b/test/anno/test-anno index f47ae2de..008c3419 100755 --- a/test/anno/test-anno +++ b/test/anno/test-anno @@ -16,7 +16,24 @@ fi setup_test -anno - >/dev/null 2>&1 || true # gcov +check_exit '-eq 1' anno - +check_exit '-eq 1' anno -comp +check_exit '-eq 1' anno -comp foo -comp bar +check_exit '-eq 1' anno -text +check_exit '-eq 1' anno -text foo -text bar +check_exit '-eq 1' anno -number 0 +check_exit '-eq 1' anno -number -number +check_exit '-eq 1' anno + @ +check_exit '-eq 1' anno -draft 42 +check_exit '-eq 1' anno -draft -list "$actual" 2>&1 +run_prog anno -help 2>&1 | sed '/^$/,$d' >"$actual" check "$expected" "$actual" # check -version