summaryrefslogtreecommitdiffstats
path: root/test/test_config_parser.cpp
Commit message (Collapse)AuthorAgeFilesLines
* test: use system-first search for dbus interfacesPatrick Venture2019-02-181-1/+1
| | | | | | | Use system-first search for inclusion of dbus interface headers. Change-Id: I9953ca047c09c1003c86b1ffaf929698c157139c Signed-off-by: Patrick Venture <venture@google.com>
* clang-format: Update to match docs repoGunnar Mills2018-09-151-26/+26
| | | | | | | | | Update the .clang-format file and run clang-format-6.0. This .clang-format matches the example one in https://github.com/openbmc/docs/blob/master/cpp-style-and-conventions.md#clang-formatting Change-Id: Ia331c9a5b040e1a3c45a0ebf1b8d776d93b05ae5 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Reduce journal logsRatan Gupta2018-03-151-26/+14
| | | | | | | | | | | | | | | | | | | | Presently the code was creating the elog during reading of the values from the config parser which creates the journal log internally("Internal error Occured") Apart from creating elog,Code also logs into the journal more descriptive message saying which section and key was not found. The code which catches the exception that also logs into the journal. In the changed approach instead of throwing exception we are returning the return code as not finding a section or key in the network config file is not an error. Change-Id: Ib89a3af6541fdf93fb5fa9a8e583d6c6ed88da79 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Implement the INI config parserRatan Gupta2017-06-211-0/+98
Parse the systemd.network file to get the configuration parameter. Change-Id: Ic9c15a46158d2f1c0948e6eca729663e87051491 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
OpenPOWER on IntegriCloud