From 12d8cda801cf2d3e1bc91d67501c6a040bbeae6a Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Thu, 30 Apr 2026 18:21:37 +0300 Subject: [PATCH] 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 --- utils/attr/test.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 utils/attr/test.sh diff --git a/utils/attr/test.sh b/utils/attr/test.sh new file mode 100644 index 0000000000..00a92d0cb1 --- /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