mirror of https://github.com/openwrt/packages.git
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
parent
c9d3faee51
commit
baac45838d
|
|
@ -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
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
swanmon help
|
||||
Loading…
Reference in New Issue