mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
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>
This commit is contained in:
committed by
Josef Schlehofer
parent
8238e4ddfa
commit
12d8cda801
@@ -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
|
||||
Reference in New Issue
Block a user