X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/a864175a7ed93144db072ea647468df0fa79628f..546b7396244452dba8f9cb917e904028ab01dda5:/test/common.sh.in diff --git a/test/common.sh.in b/test/common.sh.in index 7a4fc7aa..b2c7a7d7 100644 --- a/test/common.sh.in +++ b/test/common.sh.in @@ -36,6 +36,13 @@ test -z "$HOME" && HOME=$MH_TEST_DIR HOME=$MH_TEST_DIR export HOME +#### If w3m is used, HOME needs to be set, assuming default w3m config. +#### So make sure that HOME is set to avoid run-time warning about not +#### being able to create config directory. +test -z "$HOME" && HOME=$MH_TEST_DIR +HOME=$MH_TEST_DIR +export HOME + unset MAILDROP MHBUILD MHCONTEXT MHMTSUSERCONF MHN MHSHOW MHSTORE unset MHLDEBUG MHPDEBUG MHWDEBUG PAGER #### Set LC_ALL in individual tests as needed. Unset these so