aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2022-03-25 11:51:02 -0600
committerDavid Bremner <david@tethera.net>2022-03-25 13:08:59 -0600
commit04b43dc455f9f46d692c7c05743a79eaaf516e45 (patch)
tree55aa1636c322c225e990351fe00d4f496d794904
parent8ed6a172b35708428f84f30af44fa81c12852e43 (diff)
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.
-rw-r--r--test/test-vars.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test-vars.sh b/test/test-vars.sh
index 812bcf81..02d60f89 100644
--- a/test/test-vars.sh
+++ b/test/test-vars.sh
@@ -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