tests: gpioinfo: don't use static names for GPIO chips
authorBartosz Golaszewski <bartekgola@gmail.com>
Sat, 4 Nov 2017 21:37:38 +0000 (22:37 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Sat, 4 Nov 2017 22:17:45 +0000 (23:17 +0100)
commitf949d196dab8e7106fd437f9679f8fd5dbbacb82
tree355e8416e0aba533f00348fcb9bd31bbd8b2930f
parent64daf40829e18c525877093745d97dce50b12aef
tests: gpioinfo: don't use static names for GPIO chips

We need to construct the pattern strings using the names supplied by
the testing framework - otherwise we may end up getting false
negatives from these test cases if the chip layout in the system is
different than expected.

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