[PATCH 0/6] Fixes for config file parsing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Martin Wilck (6):
  tests/uevent: fix -Wcast-qual errors
  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      |  65 ++++--
 multipath/multipath.conf.5 |  17 ++
 tests/Makefile             |   2 +-
 tests/globals.c            |   1 +
 tests/parser.c             | 497 +++++++++++++++++++++++++++++++++++++++++++++
 tests/uevent.c             |   8 +-
 6 files changed, 566 insertions(+), 24 deletions(-)
 create mode 100644 tests/parser.c

-- 
2.16.1

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux