Files
packages/utils/zstd/test.sh
T
Alexandru Ardelean 543e47f0a0 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>
2026-05-01 21:01:30 +03:00

10 lines
197 B
Bash

#!/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