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
|
||||
#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
|
||||
|
Loading…
Reference in New Issue
Block a user