Module: check_mk
Branch: master
Commit: 57fb1517debd6a69c1a9215bac5dfeea36829068
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=57fb1517debd6a…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Mon Feb 19 09:39:32 2018 +0100
Win-agent: parse ini file with simpleini library
* Remember to sort keys and values back into load order as the order
plays a role with e.g. config host restriction.
* Drop line numbers from parse error messages as simpleini does not
provide them.
* Add more unit tests for readConfigFile:
* print
* invalid entry
* failed to interpret
---
agents/windows/Configuration.cc | 179 ++++++++++++++++++++-----------
agents/windows/Configuration.h | 13 +--
agents/windows/Makefile.am | 2 +-
agents/windows/build_version | 2 +-
agents/windows/test/ConfigurationTest.cc | 110 +++++++++++++++++--
5 files changed, 222 insertions(+), 84 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=57fb1517de…