tests: move the test case execution into a separate function
authorBartosz Golaszewski <bartekgola@gmail.com>
Mon, 8 May 2017 09:28:27 +0000 (11:28 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Mon, 8 May 2017 14:25:52 +0000 (16:25 +0200)
commitadb5220a52f74c5383d0b871e6cc03135592c7f1
tree8db44c355996ba47d7c6268a6368d764bc3cda44
parent9672e7ebe34422614cb38b0aaabb37d95677087e
tests: move the test case execution into a separate function

For better readability move the code executing the test case into a
separate function - between the setup and teardown routines.

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