rfkill: Add a comment with basic testing instructions

Desktop / GNOME / GNOME Settings Daemon - Philip Withnall [endlessm.com] - 14 February 2017 13:03 EST

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.

https://bugzilla.gnome.org/show_bug.cgi?id=778383

0da9303 rfkill: Add a comment with basic testing instructions
plugins/rfkill/gsd-rfkill-manager.c | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

Upstream: git.gnome.org


  • Share