As much as I would love to, I don’t have time to write a unit testing harness which mocks up a slow rfkill FD. So this will have to do.
Suggestion: run it in a tight loop, alternating between enabled and disabled. See what breaks.
0da9303 rfkill: Add a comment with basic testing instructions
plugins/rfkill/gsd-rfkill-manager.c | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)