test: unset XDG_DATA_HOME and MAILDIR for tests.

The some of the tests (and the library functions they exercise) that
rely on XDG_CONFIG_HOME also check XDG_DATA_HOME and MAILDIR.
This commit is contained in:
David Bremner 2022-03-25 11:51:02 -06:00
parent 8ed6a172b3
commit 04b43dc455

View file

@ -44,6 +44,10 @@ unset GREP_OPTIONS
# For lib/open.cc:_load_key_file
unset XDG_CONFIG_HOME
# for lib/open.cc:_choose_database_path
unset XDG_DATA_HOME
unset MAILDIR
# For emacsclient
unset ALTERNATE_EDITOR