tests: add a helper for reading back line settings from line config
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 12 Jan 2023 18:16:38 +0000 (19:16 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 18 Jan 2023 15:17:18 +0000 (16:17 +0100)
commit388dda6c705cabc544fc264d69272312b8f06932
tree3255a1fab0f5208adbcd39cf196ad99e8a4ad1e7
parent3f216dc91395e4711deef4cfa6ef702580d379df
tests: add a helper for reading back line settings from line config

Add a helper for getting line settings from line config that allows to
shrink the test code a bit.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
tests/gpiod-test-helpers.h
tests/tests-line-config.c