zstd: add test.sh for script wrappers without --version
authorAlexandru Ardelean <redacted>
Fri, 1 May 2026 16:29:22 +0000 (19:29 +0300)
committerAlexandru Ardelean <redacted>
Fri, 1 May 2026 18:01:30 +0000 (21:01 +0300)
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 <redacted>
utils/zstd/test.sh [new file with mode: 0644]

diff --git a/utils/zstd/test.sh b/utils/zstd/test.sh
new file mode 100644 (file)
index 0000000..acc74d2
--- /dev/null
@@ -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
git clone https://git.99rst.org/PROJECT