tests: ctxless: switch to using the event monitor routines
authorBartosz Golaszewski <bartekgola@gmail.com>
Tue, 2 Oct 2018 15:23:30 +0000 (17:23 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Sun, 7 Oct 2018 08:39:13 +0000 (10:39 +0200)
commitcd6f1a4b8397b21aa1df36e68c230b31bd97777b
tree5ec96b07ab56b250f1d29360eac91400d4a2b47c
parent093b90b2368b1024b92af4433ed3c6b452e5c0d9
tests: ctxless: switch to using the event monitor routines

Use gpiod_ctxless_event_monitor() and
gpiod_ctxless_event_monitor_multiple() instead of
gpiod_ctxless_event_loop() and gpiod_ctxless_event_loop_multiple()
respectively.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
tests/tests-ctxless.c