mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 15:02:01 +08:00
12d8cda801
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>
9 lines
139 B
Bash
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
|