tests: add a test that checks read_line() properly handles line endings at EOF
authorLennart Poettering <lennart@poettering.net>
Fri, 14 Dec 2018 11:57:32 +0000 (12:57 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 14 Dec 2018 11:57:32 +0000 (12:57 +0100)
commit6baac700a85d1f6bef3b297d5516e854c6d594a7
treec76d0dc53aa68a74123ad0eba116e40fef4ee515
parent31fd02f00977720c20c9cdd74342697b593dee9b
tests: add a test that checks read_line() properly handles line endings at EOF

As requested here: https://github.com/systemd/systemd/pull/11129#discussion_r241588835
src/test/test-fileio.c