Re: [PATCH] test-lib: unset XDG_CONFIG_HOME

2021-04-18 Thread David Bremner
Đoàn Trần Công Danh writes: > 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. applied to master. d

[PATCH] test-lib: unset XDG_CONFIG_HOME

2021-04-17 Thread Đoàn Trần Công Danh
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. --- test/test-lib.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git