Update tests run for tools.

This commit is contained in:
David Marlin 2024-02-28 13:43:12 -06:00 committed by root
parent 06efece140
commit 4e8ec3d6d3
2 changed files with 16 additions and 18 deletions

2
.bluez.metadata Normal file
View File

@ -0,0 +1,2 @@
4d8fb1328e15df4021329d3eb6329b64777badaa bluez-5.64.tar.xz
6c73541f2cd27543b66741d16d520970d8877940 bluez-5.72.tar.xz

View File

@ -8,28 +8,24 @@ set -ex
# 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 --help
# Is btattach present and doesn't fail if called
btattach --version
# Is ciptool present and doesn't fail if called
ciptool --help
# Is btmgmt present and doesn't fail if called
btmgmt --help
# hciattach test
any_str=$(hciattach -l | grep -E "^any")
if [ "$any_str" != "any 0x0000,0x0000" ]
then
echo "Unable to find the 'any' hciattach configuration"
exit 99
fi
# Is btmon present and doesn't fail if called
btmon --help
# Is hciconfig present and doesn't fail if called
hciconfig --help
# Is hex2hcd present and doesn't fail if called
hex2hcd --help
# Is hcitool present and doesn't fail if called
hcitool --help
# Is mpris-proxy present and doesn't fail if called
mpris-proxy --help
# Is rfcomm present and doesn't fail if called
rfcomm --help
# Is sdptool present and doesn't fail if called
sdptool --help