tests: line: fix the misc flags test case
authorBartosz Golaszewski <bartekgola@gmail.com>
Sun, 15 Oct 2017 19:01:44 +0000 (21:01 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Sun, 15 Oct 2017 19:01:44 +0000 (21:01 +0200)
commitfbd88df695d223f311468a07bb38d534229e044a
tree3c0f8e25f44516d514cca0a98cb3f29f7217a2ea
parent996e9c37c47ad5e135bea05590843f2963cfa257
tests: line: fix the misc flags test case

Setting the open-drain or open-source flags for input doesn't make any
sense as these flags are only valid for output mode. This should
actually be checked in the kernel. For now fix the test case.

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