X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b3934fc32dd04ef0bbcce846f151f4fdf40bff54..1d5e6d0340ba258b34b85ccdac4c402ccf4fd51e:/test/anno/test-anno?ds=inline diff --git a/test/anno/test-anno b/test/anno/test-anno index a9ad95ae..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 +#### Skip nmh intro text. +run_prog anno -help | sed '/^$/,$d' >"$actual" 2>&1 check "$expected" "$actual" # check -version