mirror of
https://github.com/openwrt/routing.git
synced 2026-08-28 03:36:22 +04:00
ohybridproxy: add test-version.sh for CI runtime tests
The package version is derived from PKG_SOURCE_DATE and the git hash, which neither ohybridproxy nor zonestitcher report, so the generic version check of the CI runtime tests always fails for these packages. Skip the version check. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
361d14cb3f
commit
ddc5285ae0
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
# shellcheck shell=busybox
|
||||
|
||||
case "$PKG_NAME" in
|
||||
ohybridproxy|zonestitcher)
|
||||
# The package version is derived from the source date and git
|
||||
# hash, which the binaries do not report
|
||||
exit 0
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Untested package: $PKG_NAME" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user