Update tests run for tools.
Omit tests for tools no longer included in the release, and add tests for the current set of tools / utilities included. Resolves: RHEL-25776 Signed-off-by: David Marlin <dmarlin@redhat.com>
This commit is contained in:
parent
06efece140
commit
b644fc51f8
@ -8,28 +8,24 @@ set -ex
|
|||||||
# Is bccmd present and doesn't fail if called
|
# Is bccmd present and doesn't fail if called
|
||||||
#bccmd --help
|
#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
|
# Is btattach present and doesn't fail if called
|
||||||
btattach --version
|
btattach --version
|
||||||
|
|
||||||
# Is ciptool present and doesn't fail if called
|
# Is btmgmt present and doesn't fail if called
|
||||||
ciptool --help
|
btmgmt --help
|
||||||
|
|
||||||
# hciattach test
|
# Is btmon present and doesn't fail if called
|
||||||
any_str=$(hciattach -l | grep -E "^any")
|
btmon --help
|
||||||
if [ "$any_str" != "any 0x0000,0x0000" ]
|
|
||||||
then
|
|
||||||
echo "Unable to find the 'any' hciattach configuration"
|
|
||||||
exit 99
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Is hciconfig present and doesn't fail if called
|
# Is hex2hcd present and doesn't fail if called
|
||||||
hciconfig --help
|
hex2hcd --help
|
||||||
|
|
||||||
# Is hcitool present and doesn't fail if called
|
# Is mpris-proxy present and doesn't fail if called
|
||||||
hcitool --help
|
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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user