X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/880ff2a4f8f33fede426b21858dda31b58ffd27a..213e031dda6a34c50c04de0d6041f45ab2db0a91:/test/anno/test-anno diff --git a/test/anno/test-anno b/test/anno/test-anno index 6d45cacf..89204ccb 100755 --- a/test/anno/test-anno +++ b/test/anno/test-anno @@ -16,6 +16,25 @@ fi setup_test +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 | sed '/^$/,$d' >"$actual" 2>&1 check "$expected" "$actual" # check -version