6 WVSTART Invoke with no script
7 WVPASS novaboot -t '' < /dev/null
9 WVSTART Invoke as script
11 WVPASS ./script --gen-only
13 WVSTART Invoke as script with absolute path
15 WVPASS $PWD/script --gen-only
19 WVPASS ./script --gen-only --pulsar --pulsar-root=ASDF
20 WVPASS grep "root ASDF" config-novaboot
22 WVSTART Configuration files
25 WVPASS sh -c "./script --gen-only 2> log"
26 WVPASS grep "novaboot: Read $PWD/.novaboot" log
28 WVSTART Configuration files in symlinked directories
30 echo '1;' > config/.novaboot
32 ( cd script; create_dummy )
33 ln -s ../script config
34 WVPASS sh -c "./config/script/script --gen-only 2> log"
35 WVPASS grep "novaboot: Read $PWD/config/.novaboot" log
37 WVSTART Builddir configuration variable
39 cat > .novaboot <<'EOF'
44 load file < echo Hello
46 WVPASS ./script --gen-only
47 WVPASS test -f build/file
49 WVSTART Fail with unknown target
51 WVFAIL sh -c "./script --gen-only -t non-existing-target"
53 WVSTART BUILDDIR variable
57 load file < echo Hello
59 WVPASS ./script --gen-only
60 WVPASS test -f build/file
62 WVSTART Hypervisor configuration variable
64 echo '$hypervisor="HYP";' > .novaboot
65 WVPASS ./script --gen-only --pulsar
66 WVPASS grep "exec HYP" config-novaboot
71 WVSTART ISO image generation
75 # Hi-lock: (("^.*\\(?:WVSTART\\).*$" (0 (quote hi-black-b) t)))