tests: verify the behavior of gpiofind in case of invalid arguments
authorBartosz Golaszewski <bartekgola@gmail.com>
Mon, 12 Jun 2017 10:46:04 +0000 (12:46 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Mon, 12 Jun 2017 10:46:04 +0000 (12:46 +0200)
commit5f344d5eda90406bddf45fa407be8bacce79f91f
treee1bcd38bbc4342af6f6993975569b9eed14c939a
parent623d8d0cfb822fe8720306ebb9c16760bb79bcdd
tests: verify the behavior of gpiofind in case of invalid arguments

Make sure we bail out with the correct error message when the user
doesn't give us exactly one GPIO line name.

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