mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
dbus: add test.sh for binaries without --version
dbus-utils utilities do not implement --version so the generic CI version check fails for them. Add a test.sh case that verifies the binaries are present and executable instead. dbus-utils: dbus-monitor, dbus-send, dbus-test-tool Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
This commit is contained in:
committed by
Alexandru Ardelean
parent
3298822f8d
commit
5b9e2dd55e
@@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
dbus-utils)
|
||||||
|
# dbus-monitor, dbus-send, dbus-test-tool do not implement --version
|
||||||
|
for bin in dbus-monitor dbus-send dbus-test-tool; do
|
||||||
|
[ -x "/usr/bin/$bin" ] || exit 1
|
||||||
|
done
|
||||||
|
;;
|
||||||
|
esac
|
||||||
Reference in New Issue
Block a user