]> diplodocus.org Git - nmh/blobdiff - test/comp/test-comp-format
fgets() reserves space for the NUL itself.
[nmh] / test / comp / test-comp-format
index f1c25635f1c992d20711b7a638714ed35ef45c09..3e101924b55d0b1b83486ebfbb23439928fb6949 100755 (executable)
@@ -13,6 +13,8 @@ fi
 
 setup_test
 
+! comp - >/dev/null 2>&1 # 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