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'
$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`
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`