]> rtime.felk.cvut.cz Git - novaboot.git/blobdiff - tests/parser.wv
Add tests for GRUB2 BOOT_METHOD
[novaboot.git] / tests / parser.wv
index c9e50018bf4a7923e6dd7ca52f4fac0ee04ccef9..c8c6932889d90b82988ffb620dba628c81b5d064 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 cd $(dirname $0)
 . wvtest.sh
@@ -85,3 +85,7 @@ load <<XXX
 inside heredoc
 XXX
 EOF
+
+WVSTART Run keyword
+WVPASS bash -c "echo run echo ahoj|novaboot -t '' > output"
+WVPASS grep "^ahoj$" output