tests: add infrastructure for testing the tools
authorBartosz Golaszewski <bartekgola@gmail.com>
Thu, 8 Jun 2017 10:50:02 +0000 (12:50 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Thu, 8 Jun 2017 10:56:08 +0000 (12:56 +0200)
commitbb18051191e53b7704b222f312b57da4161491fe
treec63db7ac2de12cf307535f41e0d5a49e5b7ab80c
parent4ddba181fc101274c0660ca76e2cc44b3b402b62
tests: add infrastructure for testing the tools

Implement new routines allowing to start an external process and
retrieve its output.

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