From: Michal Sojka Date: Sun, 23 Nov 2014 23:29:33 +0000 (+0100) Subject: Do not read user config during tests X-Git-Tag: 20141125~4 X-Git-Url: https://rtime.felk.cvut.cz/gitweb/novaboot.git/commitdiff_plain/3d812f34365d9fd5b405ff92c10c68a9fe8050c8 Do not read user config during tests This is to make the tests independent of settings of the user running the tests. --- diff --git a/tests/wvtest.sh b/tests/wvtest.sh index 7a7b74b..71fac2b 100644 --- a/tests/wvtest.sh +++ b/tests/wvtest.sh @@ -147,6 +147,7 @@ WVSTART() WV_BASE_DIR="$PWD" export NOVABOOT_TEST=1 export NOVABOOT_CONFIG_DIR=/dev/null # Do not read config from /etc/novaboot.d +export XDG_CONFIG_HOME=/dev/null # Do not read user config from ~/.config/novaboot PATH=$(dirname $PWD):$PATH # Find our version of novaboot first