tests: gpioset: test case for the 'signal' mode
authorBartosz Golaszewski <bartekgola@gmail.com>
Tue, 13 Jun 2017 13:15:45 +0000 (15:15 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Tue, 13 Jun 2017 13:20:40 +0000 (15:20 +0200)
commit6fb97c873da067be4fc528f19ffdaa981d67025a
treee03555ca620b95f1d050c6737600589efd952477
parent0fb6c77c70067a768963f430a2b1a0f531d61bfc
tests: gpioset: test case for the 'signal' mode

Run gpioset on a set of lines, give it a couple milliseconds to
execute, then send it SIGTERM and check that it exits correctly.

Repeat for SIGINT.

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