]> diplodocus.org Git - nmh/blobdiff - test/ali/test-ali
uip/anno.c: Increase coverage.
[nmh] / test / ali / test-ali
index 4c3ef4c..cae2b9a 100755 (executable)
@@ -19,7 +19,12 @@ fi
 
 setup_test
 
-ali - >/dev/null 2>&1 || true  # gcov
+check_exit '-eq 1' ali - # gcov
+check_exit '-eq 1' ali -noalias -alias # gcov
+check_exit '-eq 1' ali -user # gcov
+check_exit '-eq 1' ali -user '' # gcov
+check_exit '-eq 1' ali -user 'foo bar' # gcov
+check_exit '-eq 0' ali -user foo,bar # gcov
 
 expected=$MH_TEST_DIR/$$.expected
 expected_err=$MH_TEST_DIR/$$.expected_err