conserver: add runtime test
authorBjørn Mork <[email protected]>
Mon, 5 Feb 2024 20:41:52 +0000 (21:41 +0100)
committerHannu Nyman <[email protected]>
Wed, 5 Mar 2025 19:17:14 +0000 (21:17 +0200)
Simply test that both variants produce a binary for now

Signed-off-by: Bjørn Mork <[email protected]>
net/conserver/test.sh [new file with mode: 0755]

diff --git a/net/conserver/test.sh b/net/conserver/test.sh
new file mode 100755 (executable)
index 0000000..59ffcfe
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+case "$1" in
+       "conserver")
+               conserver -V | grep "$2"
+               ;;
+       "conserver-ipmi")
+               conserver -V | grep "$2"
+               ;;
+esac