Compare commits

..

1 Commits

Author SHA1 Message Date
David Marlin 358da0160e Upgrade to 5.72 2024-02-28 01:16:20 +00:00
2 changed files with 21 additions and 14 deletions

View File

@ -242,13 +242,16 @@ install emulator/btvirt ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/
%{_bindir}/btmon
%{_bindir}/hex2hcd
%{_bindir}/l2ping
%{_bindir}/l2test
%{_bindir}/mpris-proxy
%{_bindir}/rctest
%{_mandir}/man1/bluetoothctl.1.*
%{_mandir}/man1/bluetoothctl-*.1.*
%{_mandir}/man1/btattach.1.*
%{_mandir}/man1/btmgmt.1.*
%{_mandir}/man1/btmon.1.*
%{_mandir}/man1/l2ping.1.*
%{_mandir}/man1/rctest.1.*
%{_mandir}/man8/bluetoothd.8.*
%dir %{_libexecdir}/bluetooth
%{_libexecdir}/bluetooth/bluetoothd

View File

@ -8,24 +8,28 @@ 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 btmgmt present and doesn't fail if called
btmgmt --help
# Is ciptool present and doesn't fail if called
ciptool --help
# Is btmon present and doesn't fail if called
btmon --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 hex2hcd present and doesn't fail if called
hex2hcd --help
# Is hciconfig present and doesn't fail if called
hciconfig --help
# Is mpris-proxy present and doesn't fail if called
mpris-proxy --help
# Is hcitool present and doesn't fail if called
hcitool --help
# Is rfcomm present and doesn't fail if called
rfcomm --help
# Is sdptool present and doesn't fail if called
sdptool --help