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:
Alexandru Ardelean authored and Josef Schlehofer committed 2026-10-05 08:00:15 +02:00
1 parent 3b54e5324b
commit 211d6590d0
1 file changed
+9
+9
View File
@@ -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