From 12bf24b49f290ba3581add8407aa21a618db296a Mon Sep 17 00:00:00 2001 From: David Levine Date: Sat, 2 Feb 2013 09:59:28 -0600 Subject: [PATCH] Set MHTMPDIR to try to keep all test-related files together. --- test/common.sh.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.56.0