From 4e8ec3d6d38f57038f39df02597f637720c2d61e Mon Sep 17 00:00:00 2001 From: David Marlin Date: Wed, 28 Feb 2024 13:43:12 -0600 Subject: [PATCH] Update tests run for tools. --- .bluez.metadata | 2 ++ tests/run_tests.sh | 32 ++++++++++++++------------------ 2 files changed, 16 insertions(+), 18 deletions(-) create mode 100644 .bluez.metadata diff --git a/.bluez.metadata b/.bluez.metadata new file mode 100644 index 0000000..9f471b7 --- /dev/null +++ b/.bluez.metadata @@ -0,0 +1,2 @@ +4d8fb1328e15df4021329d3eb6329b64777badaa bluez-5.64.tar.xz +6c73541f2cd27543b66741d16d520970d8877940 bluez-5.72.tar.xz diff --git a/tests/run_tests.sh b/tests/run_tests.sh index 6c5ffcf..56eddc8 100644 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -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