tests: gpioinfo: expect default direction to be input
authorBartosz Golaszewski <bartekgola@gmail.com>
Tue, 3 Apr 2018 08:05:29 +0000 (10:05 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Tue, 3 Apr 2018 08:05:29 +0000 (10:05 +0200)
commit8bd1deed810b40267424972786d196a84bf50aec
tree8b4efaad905bfab7c9435184e2c29678bd089c5c
parent4e8f582ff71f8af895eb9ec7fc3b55b79becde14
tests: gpioinfo: expect default direction to be input

Starting with linux v4.16 the direction of gpio-mockup lines is input
by default as is the case for all real gpio drivers.

Modify the expected strings in test cases for gpioinfo and make v4.16
the minimum kernel version to run libgpiod tests.

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