bluez/tests/run_tests.sh
Bastien Nocera 764499174b Update to 5.85
Resolves: RHEL-142552
2026-02-04 13:48:06 +01:00

32 lines
765 B
Bash

#!/bin/bash
set -ex
# This test is designed such that a Bluetooth controller is not required but we
# can at least check to make sure the commands are installed correctly
# Is bccmd present and doesn't fail if called
#bccmd --help
# Is bluemoon present and doesn't fail if called
bluemoon --help
# Is bluetoothctl present and doesn't fail if called
bluetoothctl --timeout 2 --help
# Is btattach present and doesn't fail if called
btattach --version
# Is bluetoothctl mgmt's menu is present and doesn't fail if called
bluetoothctl --timeout 2 --help | grep mgmt
# Is btmon present and doesn't fail if called
btmon --help
# Is hex2hcd present and doesn't fail if called
hex2hcd --help
# Is mpris-proxy present and doesn't fail if called
mpris-proxy --help