On Fri, Jan 20, 2017 at 04:54:16PM +1100, James Ye wrote:
> Signed-off-by: James Ye
> ---
> Changes since v2:
> - rebased off master
> - renamed lid.c to test-lid.c
ftr, I've added a udev rule to assign ID_INPUT_SWITCH to the test device.
This way we're not dependent on the systemd release for
Signed-off-by: James Ye
---
Changes since v2:
- rebased off master
- renamed lid.c to test-lid.c
test/Makefile.am| 4 +-
test/litest-device-lid-switch.c | 58 +
test/litest.c | 30 +
test/litest.h | 11 ++
test/test-device.c