From: Alexandru Ardelean Date: Fri, 1 May 2026 16:29:22 +0000 (+0300) Subject: zstd: add test.sh for script wrappers without --version X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=543e47f0a0bcb88e4a4e6cd032e5ce6040ef41a2;p=openwrt-packages.git 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 --- diff --git a/utils/zstd/test.sh b/utils/zstd/test.sh new file mode 100644 index 000000000..acc74d277 --- /dev/null +++ b/utils/zstd/test.sh @@ -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