X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b7cbd7c8a39920669db61d331b12839f2a2d3562..2cf4ff9dd2fba77c7f98bbd706b00d2e79a11a3b:/test/comp/test-comp-format?ds=inline diff --git a/test/comp/test-comp-format b/test/comp/test-comp-format index 34c9cb98..30747c72 100755 --- a/test/comp/test-comp-format +++ b/test/comp/test-comp-format @@ -13,7 +13,33 @@ fi setup_test -comp - >/dev/null 2>&1 || true # gcov +check_exit '-eq 1' comp - +check_exit '-eq 1' comp -xyzzy +check_exit '-eq 0' comp -help +check_exit '-eq 0' comp -version +check_exit '-eq 1' comp -build -noedit -editor +check_exit '-eq 1' comp -whatnowproc +check_exit '-eq 1' comp -whatnowproc '' - +check_exit '-eq 1' comp -use -nouse -form +check_exit '-eq 1' comp -file +check_exit '-eq 1' comp -file foo -file +check_exit '-eq 1' comp -nodraftfolder -draftfolder +check_exit '-eq 1' comp -draftfolder foo -draftfolder +check_exit '-eq 1' comp -draftmessage +check_exit '-eq 1' comp -draftmessage foo -draftmessage +check_exit '-eq 1' comp -to +check_exit '-eq 1' comp -cc +check_exit '-eq 1' comp -from +check_exit '-eq 1' comp -fcc +check_exit '-eq 1' comp -fcc @ - +check_exit '-eq 1' comp -width +check_exit '-eq 1' comp -width 0 +check_exit '-eq 1' comp -subject +check_exit '-eq 1' comp + @ +check_exit '-eq 1' comp 42 314 +check_exit '-eq 1' comp -form foo 42 +check_exit '-eq 1' comp + +check_exit '-eq 1' comp 42 # # Create a test template file (we create one here just in case the master