]> rtime.felk.cvut.cz Git - novaboot.git/blob - tests/novaboot.wv
Add rudimentary test suite
[novaboot.git] / tests / novaboot.wv
1 #!/bin/bash
2
3 cd $(dirname $0)
4 . wvtest.sh
5
6 WVSTART Pulsar root
7 WVPASS ../examples/linux-test --gen-only --pulsar --pulsar-root=ASDF
8 WVPASS grep "root ASDF" ../examples/config-novaboot
9
10 WVSTART Bender
11 WVPASS ../examples/linux-test --gen-only --bender --pulsar
12 WVPASS grep "bender" ../examples/config-novaboot
13
14 WVSTART Chainloader support
15 WVPASS ../examples/linux-test --gen-only --chainloader=chain1 -chainloader=chain2 --pulsar
16 WVPASS grep "exec chain1" ../examples/config-novaboot
17 WVPASS grep "load chain2" ../examples/config-novaboot