attr: add test.sh to handle version check
authorAlexandru Ardelean <redacted>
Thu, 30 Apr 2026 15:21:37 +0000 (18:21 +0300)
committerJosef Schlehofer <redacted>
Thu, 30 Apr 2026 17:40:38 +0000 (19:40 +0200)
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 <redacted>
utils/attr/test.sh [new file with mode: 0644]

diff --git a/utils/attr/test.sh b/utils/attr/test.sh
new file mode 100644 (file)
index 0000000..00a92d0
--- /dev/null
@@ -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
git clone https://git.99rst.org/PROJECT