From: Alexandru Ardelean Date: Thu, 30 Apr 2026 15:21:37 +0000 (+0300) Subject: attr: add test.sh to handle version check X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=12d8cda801cf2d3e1bc91d67501c6a040bbeae6a;p=openwrt-packages.git attr: add test.sh to handle version check The generic CI test fails for /usr/bin/attr because that binary does not implement --version. getfattr and setfattr do, so test those for the version string and only verify attr is present and executable. Signed-off-by: Alexandru Ardelean --- diff --git a/utils/attr/test.sh b/utils/attr/test.sh new file mode 100644 index 000000000..00a92d0cb --- /dev/null +++ b/utils/attr/test.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +case "$1" in + attr) + # attr does not implement --version; just verify it is present + [ -x /usr/bin/attr ] || exit 1 + ;; +esac