From 4c9ad9f4f44521d7eae9ea1e8277cf7f8b577d20 Mon Sep 17 00:00:00 2001 From: David Levine Date: Thu, 5 Apr 2012 17:14:57 -0500 Subject: [PATCH] Fixed install-mh -auto test by specifying HOME. --- test/install-mh/test-install-mh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/install-mh/test-install-mh b/test/install-mh/test-install-mh index f8af2c9..5a93961 100755 --- a/test/install-mh/test-install-mh +++ b/test/install-mh/test-install-mh @@ -56,10 +56,10 @@ else fi # Remove the nmh installation so that install-mh -auto can install. +# And set HOME to that it installs in the test directory: +# install-mh -auto does a chdir($HOME). rm -rf $MH_TEST_DIR/Mail -echo "n -n -$installpath" | install-mh -auto >/dev/null +HOME=$MH_TEST_DIR install-mh -auto >/dev/null if [ -f $MH_TEST_DIR/Mail/context -a -f $MH_TEST_DIR/Mail/.mh_profile ]; then install-mh -check -- 1.7.10.4