]> rtime.felk.cvut.cz Git - novaboot.git/blobdiff - tests/wvtest.sh
Make tests not read the system configuration from /etc
[novaboot.git] / tests / wvtest.sh
index ac5f65afbc1a2f75e2335fb7eaf7f772425351cd..7a7b74be51806fe4314cb3cfb702766fb300eb53 100644 (file)
@@ -146,6 +146,7 @@ WVSTART()
 
 WV_BASE_DIR="$PWD"
 export NOVABOOT_TEST=1
+export NOVABOOT_CONFIG_DIR=/dev/null # Do not read config from /etc/novaboot.d
 
 PATH=$(dirname $PWD):$PATH # Find our version of novaboot first
 
@@ -158,8 +159,8 @@ function create_script ()
 function create_dummy ()
 {
     create_script <<EOF
-kernel
-file
+load kernel
+load file
 EOF
     touch kernel
     touch file