]> diplodocus.org Git - nmh/blobdiff - test/anno/test-anno
get_file_info(): Flip logic throughout, reducing nesting.
[nmh] / test / anno / test-anno
index a7755ed7895c0205be0e1828bd0a9d27de8e3433..89204ccb259cb29ee6652e7495b7491cefa9c495 100755 (executable)
@@ -16,7 +16,24 @@ fi
 
 setup_test
 
-check_exit '-eq 1' anno - # 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 </dev/null
+check_exit '-eq 1' anno -draft -list -comp foo
+check_exit '-eq 1' anno -draft -comp f.o:
+check_exit '-eq 1' anno -draft -comp ''
+x=tendixzehn
+l=$x$x$x$x$x
+c=$l$l
+d=$c$c$c$c$c
+check_exit '-eq 1' anno -draft -comp $d$c$c$c$c$l$x$x$x${x}123456789
 
 expected=$MH_TEST_DIR/$$.expected
 expected_err=$MH_TEST_DIR/$$.expected_err