git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
8238e4d
)
attr: add test.sh to handle version check
author
Alexandru Ardelean
<redacted>
Thu, 30 Apr 2026 15:21:37 +0000
(18:21 +0300)
committer
Josef 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]
patch
|
blob
diff --git a/utils/attr/test.sh
b/utils/attr/test.sh
new file mode 100644
(file)
index 0000000..
00a92d0
--- /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
git clone https://git.99rst.org/PROJECT