]> diplodocus.org Git - nmh/blobdiff - test/install-mh/test-install-mh
Replaced use of ! with || true, for ultimate Bourne shell compatiblity.
[nmh] / test / install-mh / test-install-mh
index 9798e5ede843be2a906bb2016af355b25afd3c91..561f3c1a9308c37460eb731e97f8dabd01761ca8 100755 (executable)
@@ -16,6 +16,8 @@ fi
 
 setup_test
 
+install-mh - >/dev/null 2>&1 || true  # gcov
+
 # check with no options, with nmh already installed
 run_test "install-mh" \
     'install-mh: You already have an nmh profile, use an editor to modify it'
@@ -49,7 +51,7 @@ n
 $installpath
 y" | run_prog install-mh >/dev/null
 
-if [ -f $MH_TEST_DIR/Mail/context  -a  -f $MH_TEST_DIR/Mail/.mh_profile ]; then
+if [ -f $MH_TEST_DIR/Mail/context  -a  -f "$MH" ]; then
   run_prog install-mh -check
 else
   failed=`expr ${failed:-0} + 1`
@@ -61,7 +63,7 @@ fi
 rm -rf $MH_TEST_DIR/Mail
 HOME=$MH_TEST_DIR install-mh -auto >/dev/null
 
-if [ -f $MH_TEST_DIR/Mail/context  -a  -f $MH_TEST_DIR/Mail/.mh_profile ]; then
+if [ -f $MH_TEST_DIR/Mail/context  -a  -f "$MH" ]; then
   run_prog install-mh -check
 else
   failed=`expr ${failed:-0} + 1`