]> rtime.felk.cvut.cz Git - novaboot.git/commitdiff
Add test for $hypervisor variable
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 21 Oct 2013 21:01:41 +0000 (23:01 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 21 Oct 2013 21:01:41 +0000 (23:01 +0200)
tests/novaboot.wv

index b03ead2f7182a6c6f17288e1a713636437887e00..6dadb83042a54a5b795e0eb237b29e35e1a0faea 100755 (executable)
@@ -56,6 +56,13 @@ EOF
 WVPASS ./script --gen-only
 WVPASS test -f build/file
 
+WVSTART hypervisor configuration variable
+create_dummy
+echo '$hypervisor="HYP";' > .novaboot
+WVPASS ./script --gen-only --pulsar
+WVPASS grep "exec HYP" config-novaboot
+
+
 exit
 
 # Broken