mirror of
https://github.com/openwrt/packages.git
synced 2026-10-13 01:27:31 +04:00
uspot: add version check override
None of the uspot executables (radius-client, uspot, uspot-das) expose the package version via --version or --help flags. This causes the generic CI tests to fail with "No executables in the package provided version". Add a test-version.sh to skip the version probe for the uspot, uspotfilter and uspot-www subpackages. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This commit is contained in:
1 parent
b73e173d4d
commit
d3dd4cb9fb
1 file changed
+17
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
# shellcheck shell=busybox
|
||||
|
||||
# uspot executables (radius-client, uspot, uspot-das) do not expose the
|
||||
# package version via --version or --help. Skip the generic version probe.
|
||||
|
||||
case "$PKG_NAME" in
|
||||
uspot|uspotfilter|uspot-www)
|
||||
exit 0
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Untested package: $PKG_NAME" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
Reference in new issue
Block a user