From: David Levine Date: Sat, 2 Feb 2013 15:59:28 +0000 (-0600) Subject: Set MHTMPDIR to try to keep all test-related files together. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/12bf24b49f290ba3581add8407aa21a618db296a?hp=4bf2f9df237a4ff9cf449abaae0e444d74981dfa Set MHTMPDIR to try to keep all test-related files together. --- diff --git a/test/common.sh.in b/test/common.sh.in index a117d6fe..2264d469 100644 --- a/test/common.sh.in +++ b/test/common.sh.in @@ -21,9 +21,13 @@ export MULTIBYTE_ENABLED ICONV_ENABLED 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 MHBUILD MHCONTEXT MHMTSUSERCONF MHN MHSHOW MHSTORE unset MHLDEBUG MHPDEBUG MHWDEBUG MM_CHARSET PAGER +#### Use a test dir for tmp files when MHTMPDIR applies. +MHTMPDIR=$MH_TEST_DIR/Mail +export MHTMPDIR + output_md5() { #### Output just the checksum. If the filename needs to appear on @@ -189,6 +193,7 @@ setup_test () "${MHMTSCONF}.old" >"${MHMTSCONF}" fi + #### On Solaris, must set PATH after the install! PATH="${MH_INST_DIR}${bindir}:${PATH}" export PATH