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>
pull/30548/merge
Wei-Ting Yang 2026-09-15 21:05:35 +08:00 committed by Florian Eckert
parent c9d3faee51
commit baac45838d
2 changed files with 14 additions and 3 deletions

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

View File

@ -1,3 +0,0 @@
#!/bin/sh
swanmon help