mirror of
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git
synced 2026-10-25 12:39:18 +03:00
If info is NULL in one of the line-info test cases, we'll still try to read its property leading to an abort() triggered from assert(info). Just bail out of the test function if gpiod_chip_get_line_info() fails. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>