mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 05:57:04 +04:00
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:
1 parent
c9d3faee51
commit
baac45838d
2 files changed
+14
-3
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user