From 04b43dc455f9f46d692c7c05743a79eaaf516e45 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Fri, 25 Mar 2022 11:51:02 -0600 Subject: [PATCH] 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. --- test/test-vars.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.43.0