Add OSCI tests
Resolves: RHEL-77171
This commit is contained in:
parent
7d5d270a51
commit
022e94ab9b
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
||||||
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: bluez
|
Name: bluez
|
||||||
Version: 5.77
|
Version: 5.77
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Bluetooth utilities
|
Summary: Bluetooth utilities
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
URL: http://www.bluez.org/
|
URL: http://www.bluez.org/
|
||||||
@ -339,6 +339,10 @@ install emulator/btvirt ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/
|
|||||||
%{_userunitdir}/obex.service
|
%{_userunitdir}/obex.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 11 2025 Bastien Nocera <bnocera@redhat.com> - 5.77-7
|
||||||
|
- Add OSCI tests
|
||||||
|
- Resolves: RHEL-77171
|
||||||
|
|
||||||
* Mon Feb 10 2025 Bastien Nocera <bnocera@redhat.com> - 5.77-6
|
* Mon Feb 10 2025 Bastien Nocera <bnocera@redhat.com> - 5.77-6
|
||||||
- Fix config not being applied
|
- Fix config not being applied
|
||||||
- Resolves: RHEL-78405
|
- Resolves: RHEL-78405
|
||||||
|
|||||||
30
tests/run_tests.sh
Executable file
30
tests/run_tests.sh
Executable file
@ -0,0 +1,30 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
# This test is designed such that a Bluetooth controller is not required but we
|
||||||
|
# can at least check to make sure the commands are installed correctly
|
||||||
|
|
||||||
|
# Is bluemoon present and doesn't fail if called
|
||||||
|
bluemoon --help
|
||||||
|
|
||||||
|
# Is bluetoothctl present and doesn't fail if called
|
||||||
|
# FIXME: https://issues.redhat.com/browse/RHEL-56073
|
||||||
|
# bluetoothctl --help
|
||||||
|
|
||||||
|
# Is btattach present and doesn't fail if called
|
||||||
|
btattach --version
|
||||||
|
|
||||||
|
# Is btmgmt present and doesn't fail if called
|
||||||
|
# FIXME: https://issues.redhat.com/browse/RHEL-56073
|
||||||
|
# btmgmt --help
|
||||||
|
|
||||||
|
# Is btmon present and doesn't fail if called
|
||||||
|
btmon --help
|
||||||
|
|
||||||
|
# Is hex2hcd present and doesn't fail if called
|
||||||
|
hex2hcd --help
|
||||||
|
|
||||||
|
# Is mpris-proxy present and doesn't fail if called
|
||||||
|
mpris-proxy --help
|
||||||
|
|
||||||
5
tests/tests.fmf
Normal file
5
tests/tests.fmf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
summary: Check basic command line options
|
||||||
|
discover:
|
||||||
|
how: shell
|
||||||
|
execute:
|
||||||
|
script: tests/run_tests.sh
|
||||||
Loading…
Reference in New Issue
Block a user