swanmon: add version check override

Add a version check override script that verifies swanmon displays its
usage information, since swanmon does not provide version information.

Remove redundant test.sh.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
This commit is contained in:
Wei-Ting Yang authored and Florian Eckert committed 2026-09-17 16:53:20 +02:00
1 parent c9d3faee51
commit baac45838d
2 files changed
+14 -3

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh
# shellcheck shell=busybox
case "$PKG_NAME" in
swanmon)
swanmon help 2>&1 | grep 'Usage: swanmon'
;;
*)
echo "Untested package: $PKG_NAME" >&2
exit 1
;;
esac
-3
View File
@@ -1,3 +0,0 @@
#!/bin/sh
swanmon help