From 13212f561681b1e97c422702851149c81af85b7f Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Mon, 11 May 2026 13:57:39 +0300 Subject: [PATCH] zstd: add test-version.sh to fix CI version check failure zstdgrep and zstdless are shell script wrappers around the zstd binary; they do not output a version string. The generic CI version checker warns on both, which causes a "Some tests failed" exit in the CI runner. Add test-version.sh to override per-file version checks. The override verifies that /usr/bin/zstd --version contains the expected version and exits 0, which satisfies the CI infrastructure without falsely flagging the shell wrapper scripts. Signed-off-by: Alexandru Ardelean --- utils/zstd/test-version.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 utils/zstd/test-version.sh diff --git a/utils/zstd/test-version.sh b/utils/zstd/test-version.sh new file mode 100755 index 00000000000000..c848ee91a2f5e6 --- /dev/null +++ b/utils/zstd/test-version.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +# zstdgrep and zstdless are shell script wrappers; only the zstd binary reports +# a version string +[ "$1" = "zstd" ] || exit 0 + +/usr/bin/zstd --version | grep -qF "$2"