From: David Bremner Date: Fri, 25 Mar 2022 17:51:02 +0000 (-0600) Subject: test: unset XDG_DATA_HOME and MAILDIR for tests. X-Git-Tag: archive/debian/0.36_rc0-1~12 X-Git-Url: https://git.cworth.org/git?p=notmuch;a=commitdiff_plain;h=04b43dc455f9f46d692c7c05743a79eaaf516e45 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. --- 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