]> rtime.felk.cvut.cz Git - novaboot.git/commitdiff
tests: Fix grub server tests
authorMichal Sojka <michal.sojka@cvut.cz>
Tue, 12 Apr 2022 22:42:51 +0000 (00:42 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Tue, 12 Apr 2022 22:44:47 +0000 (00:44 +0200)
The behavior was probably changed in the recent network booting
changes. Since those tests were disabled, we didn't catch that a test
needs to be changed too.

tests/server.wv

index 62d0f8d89dce89a7f0fba3db10ad8529fe35dcd5..2c2cde0a68f67641737ee5bce4576a4fa87486f0 100755 (executable)
@@ -228,7 +228,7 @@ WVPASS novaboot --ssh novaboot-test@localhost <<EOF
 load file
 EOF
 WVPASS diff -u file <(sudo_ cat "$TFTPROOT/file")
-WVPASS sudo_ grep /prefix/file "$TFTPROOT/grub.cfg"
+WVPASS sudo_ grep /prefix/file "$TFTPROOT/boot/grub/grub.cfg"
 
 WVSTART "Novaboot --ssh remote config fails on non-safe options"
 WVPASS sudo_ tee "$SHELLRC" <<EOF