mirror of
https://github.com/openwrt/packages.git
synced 2026-06-17 17:00:28 +04:00
python-incremental: add test-version.sh generic version-check override
The incremental CLI requires an "update" subcommand and prints a usage error instead of a version for the flags the generic check probes, so it fails generic tests (e.g. when python3 is bumped). Override it; test.sh still covers functionality. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
This commit is contained in:
committed by
Alexandru Ardelean
parent
f5490954f5
commit
8338b02877
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
# shellcheck shell=busybox
|
||||
|
||||
case "$PKG_NAME" in
|
||||
python3-incremental | python3-incremental-src)
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
echo "Untested package: $PKG_NAME" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user