From: Michal Sojka Date: Tue, 26 Jan 2021 18:41:45 +0000 (+0100) Subject: tests: Skip server tests during Debian package build X-Git-Tag: 20210126a~1 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/novaboot.git/commitdiff_plain/86c90c5191a4468468ba2e3d8dccad0763751db3 tests: Skip server tests during Debian package build --- diff --git a/tests/server.wv b/tests/server.wv index 4a4cd25..eddc28d 100755 --- a/tests/server.wv +++ b/tests/server.wv @@ -137,6 +137,11 @@ console_cmd=console_cmd' WVPASS run_server console | tee /dev/stderr | WVPASS grep -F "Hello user" ) +if [ -n "$DEB_HOST_ARCH" ]; then + echo >&2 "Skipping server tests in Debian package build, because these cannot pass." + exit 0 +fi + SHELLRC="$NBT_HOME/.novaboot-shell" TFTPROOT="$NBT_HOME/tftproot" AUTH="$NBT_HOME/.ssh/authorized_keys"