Replaced compiled mhmail with script that was formerly named mhmail.in.
[mmh] / test / common.sh.in
index 705e993..54f3b8e 100644 (file)
@@ -22,7 +22,7 @@ test -z "$MH_INST_DIR"  &&  MH_INST_DIR=${MH_TEST_DIR}/inst
 export MH_INST_DIR
 
 unset MHBUILD MHCONTEXT MHMTSUSERCONF MHN MHSHOW MHSTORE MHTMPDIR
-unset MHLDEBUG MHPDEBUG MHWDEBUG
+unset MHLDEBUG MHPDEBUG MHWDEBUG MM_CHARSET
 
 output_md5()
 {
@@ -135,7 +135,7 @@ setup_test ()
 {
   MH=${MH_TEST_DIR}/Mail/.mh_profile
   MHMTSCONF=${MH_INST_DIR}${sysconfdir}/mts.conf
-  PATH=${MH_INST_DIR}${bindir}:${PATH}
+  PATH=${MH_INST_DIR}${bindir}:${MH_INST_DIR}${auxexecdir}:${PATH}
   MH_LIB_DIR=${MH_INST_DIR}${auxexecdir}
   export MH MHMTSCONF MH_LIB_DIR PATH
 
@@ -162,6 +162,7 @@ setup_test ()
   cat > $MH <<EOF || exit 1
 Path: ${MH_TEST_DIR}/Mail
 mhlproc: ${MH_LIB_DIR}/mhl
+moreproc: cat
 showproc: ${MH_LIB_DIR}/mhl
 postproc: ${MH_LIB_DIR}/post
 fileproc: ${MH_INST_DIR}${bindir}/refile