Added nmh lib directory to PATH in setup_test (). This is necessary
authorDavid Levine <levinedl@acm.org>
Sat, 16 Jun 2012 01:53:03 +0000 (20:53 -0500)
committerDavid Levine <levinedl@acm.org>
Sat, 16 Jun 2012 01:53:03 +0000 (20:53 -0500)
with "make distcheck" for scripts to access the lib directory that it
installs for testing.  (The distcheck target does not configure them;
they retain their build configuration.)  If we ever add a test for
etc/sendfiles, we'll have to deal with its configured %libdir%.

test/common.sh.in

index 39abf67..54f3b8e 100644 (file)
@@ -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