diff options
author | Filipe Brandenburger <filbranden@google.com> | 2018-05-09 18:10:07 -0700 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-06-28 09:24:07 +0200 |
commit | 996045a96a16b35cb4eff859ed69d12464f95797 (patch) | |
tree | ac0b94dfd32322972d21733a3d37eccc40e4ae1c /src/test/test-fs-util.c | |
parent | f6bdcb639582b5025266fb85465f74ffb7b2cca8 (diff) |
conf-parser: accept trailing backslash at the end of the file (#8941)
This makes it behave the same whether there is a blank line or not at
the end of the file. This is also consistent with the behavior of the
shell on a shell script that ends on a trailing backslash at the last
line.
Added tests to test_config_parse(), which only pass if the corresponding
change to config_parse() is included.
(cherry picked from commit 4f29e0db127dce9e1a28af4d7bf88c124ba257b7)
Diffstat (limited to 'src/test/test-fs-util.c')
0 files changed, 0 insertions, 0 deletions