From: Michal Sojka Date: Thu, 31 Oct 2019 23:10:44 +0000 (+0100) Subject: tests: Make some server tests more readable X-Git-Tag: 20201217~25 X-Git-Url: https://rtime.felk.cvut.cz/gitweb/novaboot.git/commitdiff_plain/3d82783b28cc9c77e11758484698f1fac2acec16?hp=69fca735d5f347f4039ebc8932b6c9e58b76c448 tests: Make some server tests more readable --- diff --git a/tests/server.wv b/tests/server.wv index 0fac256..491eebb 100755 --- a/tests/server.wv +++ b/tests/server.wv @@ -130,7 +130,9 @@ date > file WVPASS novaboot --ssh novaboot-test@localhost <&1 >/dev/null |\ + tee >(WVPASS grep -q -F 'Unknown option: make') |\ + tee >(WVPASS grep -q -F 'Error processing configuration from the server') WVSTART "Novaboot --ssh remote config fails on unknown arguments" WVPASS tee $SHELLRC <&1 >/dev/null |\ + WVPASS grep --color=always -q . + WVSTART "add-key subcommand" WVPASS ssh-keygen -t ed25519 -N '' -f key