]> diplodocus.org Git - nmh/blobdiff - test/comp/test-comp-format
mh-mkstemp.man: Detail exit status as 255 rather than -1.
[nmh] / test / comp / test-comp-format
index f1c25635f1c992d20711b7a638714ed35ef45c09..f991b3c6084fd274e4e02aeaa41e68cb6fff9130 100755 (executable)
@@ -13,6 +13,8 @@ fi
 
 setup_test
 
+check_exit '-eq 1' comp - # gcov
+
 #
 # Create a test template file (we create one here just in case the master
 # one changes)
@@ -54,6 +56,7 @@ Subject: ${subject}
 --------
 EOF
 
+run_prog \
 comp -editor true -form "${form}" -from "${from}" -to "${to1}" -to "${to2}" \
     -cc "${cc1}" -cc "${cc2}" -cc "${cc3}" -cc "${cc4}" -fcc "${fcc1}" \
     -fcc "${fcc2}" -subject "${subject}" -width 60 -nowhatnowproc || exit 1