mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
zstd: add test.sh for script wrappers without --version
zstdgrep and zstdless are shell script wrappers that do not output a version string, so the generic CI version check fails for them. Add a test.sh case that verifies they are present and executable instead. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
This commit is contained in:
committed by
Alexandru Ardelean
parent
5b9e2dd55e
commit
543e47f0a0
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
case "$1" in
|
||||
zstd)
|
||||
# zstdgrep and zstdless are shell script wrappers; they do not output a version
|
||||
[ -x /usr/bin/zstdgrep ] || exit 1
|
||||
[ -x /usr/bin/zstdless ] || exit 1
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user