mirror of
https://github.com/openwrt/packages.git
synced 2026-10-14 07:46:56 +04: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>
(cherry picked from commit 543e47f0a0)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This commit is contained in:
1 parent
3b54e5324b
commit
211d6590d0
1 file changed
+9
@@ -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