dbus: add test.sh for binaries without --version
authorAlexandru Ardelean <redacted>
Fri, 1 May 2026 07:22:51 +0000 (10:22 +0300)
committerAlexandru Ardelean <redacted>
Fri, 1 May 2026 18:01:30 +0000 (21:01 +0300)
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 <redacted>
utils/dbus/test.sh [new file with mode: 0644]

diff --git a/utils/dbus/test.sh b/utils/dbus/test.sh
new file mode 100644 (file)
index 0000000..da8fae5
--- /dev/null
@@ -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
git clone https://git.99rst.org/PROJECT