Fixes for config file parsing
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 3 repliesIn review
- v16 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- fixed a problem with parsing the command strings from cli handlers.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | tests: add unit tests for config file parsertests/ tests/ tests/ | +481 | 0 replies | |
| 2/5 | libmultipath: config parser: don't strip whitepace between quoteslibmultipath/ | +2 | 0 replies | |
| 3/5 | libmultipath: config parser: Allow '"' in stringslibmultipath/ | +25 | 2 replies | |
| 4/5 | libmultipath: config parser: fix corner case for double quoteslibmultipath/ libmultipath/ multipathd/ +1 more | +20 | 0 replies | |
| 5/5 | multipath.conf(5): improve syntax documentationmultipath/ | +17 | 0 replies |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Benjmain Marzinski |
|---|---|
| Series | R-b |
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/5] Fixes for config file parsing
This series was motivated by the real-world problem that a user couldn't figure out how to write a blacklist entry for a device called '1.8" SSD'. Fixing this for good turned out to be a little tricky, therefore I also added a test suite.
Changes since v1:
- fixed a problem with parsing the command strings from cli handlers.
Martin Wilck (5):
tests: add unit tests for config file parser
libmultipath: config parser: don't strip whitepace between quotes
libmultipath: config parser: Allow '"' in strings
libmultipath: config parser: fix corner case for double quotes multipath.conf(5): improve syntax documentation
libmultipath/parser.c | 60 ++++-- libmultipath/parser.h | 1 + multipath/multipath.conf.5 | 17 ++ multipathd/cli.c | 2 +- tests/Makefile | 2 +- tests/globals.c | 1 + tests/parser.c | 474 +++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 540 insertions(+), 17 deletions(-) create mode 100644 tests/parser.c
Signature · 1 line
2.16.1