tests: gpioset: test the 'wait' mode
authorBartosz Golaszewski <bartekgola@gmail.com>
Mon, 12 Jun 2017 20:04:04 +0000 (22:04 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Mon, 12 Jun 2017 20:04:04 +0000 (22:04 +0200)
commitfe47480f954799b00d5c6e5a2c9ef83d8cd9da40
tree6568c0f9f5bae15843156239f788d93bdc950434
parenta50f2dca670047c73670471b424d1adba599988f
tests: gpioset: test the 'wait' mode

Verify the behavior of gpioset in the 'wait' mode. Send a newline
to gpioset's standard input and check if it correctly exits.

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