From: Đoàn Trần Công Danh Date: Sun, 18 Apr 2021 03:48:46 +0000 (+0700) Subject: test-lib: unset XDG_CONFIG_HOME X-Git-Tag: 0.32_rc0~6 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=828a004921ab0736634203cd07cc41393da00047 test-lib: unset XDG_CONFIG_HOME lib/open.cc:_load_key_file will only open xdg-config files in $XDG_CONFIG_HOME if it's defined, $HOME/.config will be considered if and only if XDG_CONFIG_HOME not defined. Let's unset said variable before running the test. --- diff --git a/test/test-lib.sh b/test/test-lib.sh index 098d69da..3f8d5827 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -104,6 +104,9 @@ unset CDPATH unset GREP_OPTIONS +# For lib/open.cc:_load_key_file +unset XDG_CONFIG_HOME + # For emacsclient unset ALTERNATE_EDITOR