tests: gpiomon: use test_trigger_event() to fix timing errors
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 3 Jun 2019 16:18:53 +0000 (18:18 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 5 Jun 2019 10:06:47 +0000 (12:06 +0200)
commit64c568aec49d63e6aacd069695093375d0863eff
tree1a4881618976558b0a7c978d5de9b1762e12e8fc
parent4318ab12bb2e95ffe63d5dd8457944bfa67c6bd6
tests: gpiomon: use test_trigger_event() to fix timing errors

Since we don't need to trigger events from a separate thread when
testing tools and we've experienced timing issues with these two
test cases, let's use the new helper for triggering of single events.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
tests/tests-gpiomon.c