]> rtime.felk.cvut.cz Git - novaboot.git/blobdiff - tests/server.wv
tests: Skip server tests during Debian package build
[novaboot.git] / tests / server.wv
index 4a4cd2552e5372c954dcb98f39abbbcd25f66546..eddc28d1012f3ba16db1ac5bdfe4513c1f034d5e 100755 (executable)
@@ -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"