tests: fix the test case for gpiod_line_config_get_line_settings()
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 12 Apr 2023 13:10:45 +0000 (15:10 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 12 Apr 2023 13:10:45 +0000 (15:10 +0200)
commitee96540ec81b6d3a145471889ceefd5b5b2e5dfa
tree622c7e4c72d73a699fad447c4d277e5dd870bec5
parentb740f64daf62f16548b48126723da8f59cdb6515
tests: fix the test case for gpiod_line_config_get_line_settings()

We should compare the values stored by the 'retrieved' line settings
object, not the original 'settings'.

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