line: add a test case for empty consumer strings
authorBartosz Golaszewski <bartekgola@gmail.com>
Wed, 12 Jul 2017 18:09:45 +0000 (20:09 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Wed, 12 Jul 2017 18:09:45 +0000 (20:09 +0200)
commit259dd5c64bec65dab0d514d28fcdb2d6d3640964
tree01ba19e0377d857a839332ec90b18b9d901ed112
parentd108954f39537254edbb9b3922d8eead9b5a6ee9
line: add a test case for empty consumer strings

Check that both libgpiod and the kernel behave correctly when passed
an empty string as the consumer name.

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