Files
packages/utils/attr/test.sh
Alexandru Ardelean 12d8cda801 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 <alex@shruggie.ro>
2026-04-30 19:40:38 +02:00

9 lines
139 B
Bash

#!/bin/sh
case "$1" in
attr)
# attr does not implement --version; just verify it is present
[ -x /usr/bin/attr ] || exit 1
;;
esac