We set the HOME environment variable to the test directory to avoid
the tests relying on any configuration files from the test author's
own home directory, (such as ${HOME}/.emacs or similar).
}
MAIL_DIR="${TMP_DIRECTORY}/mail"
}
MAIL_DIR="${TMP_DIRECTORY}/mail"
-export NOTMUCH_CONFIG="${TMP_DIRECTORY}/notmuch-config"
+export HOME="${TMP_DIRECTORY}"
+export NOTMUCH_CONFIG="${HOME}/notmuch-config"
mkdir -p "${test}"
mkdir -p "${MAIL_DIR}"
mkdir -p "${test}"
mkdir -p "${MAIL_DIR}"