1
0
Fork 0
tuned/tests/unit
Jaroslav Škarvada 2f911b7e02
hotplug: do not report ENOENT errors on device remove
It requires slight internal plugin API change, thus 3rd party plugins
needs updating.

Namely the 'command_set' methods for devices were extended by the
'remove' boolean parameter which is set to 'True' on the hotplug remove
event. Then the method should silent the ENOENT errors where
appropriate, because the device interface may be removed (by
kernel/udev) before the method finishes.

Resolves: RHEL-11342

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2023-12-07 13:00:34 +01:00
..
exports Fixed building on RHEL-7/CentOS 7 2020-06-19 11:15:12 +02:00
hardware Fixed building on RHEL-7/CentOS 7 2020-06-19 11:15:12 +02:00
monitors Fixed building on RHEL-7/CentOS 7 2020-06-19 11:15:12 +02:00
plugins hotplug: do not report ENOENT errors on device remove 2023-12-07 13:00:34 +01:00
profiles Removing dependency on python-configobj. 2021-08-18 10:28:27 +02:00
storage Fixed building on RHEL-7/CentOS 7 2020-06-19 11:15:12 +02:00
utils Merge pull request #417 from CZerta/rhbz1891036_striping_quotes_when_unpacking_cpu_list 2022-08-09 16:11:40 +02:00
__init__.py tests: moved tests under directory 'tests' 2019-11-18 16:34:11 +01:00
func_basic.sh tests: moved tests under directory 'tests' 2019-11-18 16:34:11 +01:00
globals.py Replace python flexmock module with builtin mock 2019-11-28 07:54:15 +01:00