]> rtime.felk.cvut.cz Git - novaboot.git/commitdiff
Do not read user config during tests
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 23 Nov 2014 23:29:33 +0000 (00:29 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 23 Nov 2014 23:29:33 +0000 (00:29 +0100)
This is to make the tests independent of settings of the user running
the tests.

tests/wvtest.sh

index 7a7b74be51806fe4314cb3cfb702766fb300eb53..71fac2ba1b9c9982f26c0db09ac2094a87c466c4 100644 (file)
@@ -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