Move config_parse_join_controllers to shared, add test
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 16 Feb 2018 08:56:29 +0000 (09:56 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 19 Feb 2018 14:02:13 +0000 (15:02 +0100)
commit9ecdba8cb75dd9c529ad3a869b25c36752fad90c
treefe1272b98a6a3cca28f8ec610c55aeccf0467a94
parentb48382e4e0fe5064d73b4916a06424afe0f6c511
Move config_parse_join_controllers to shared, add test

config_parse_join_controllers would free the destination argument on failure,
which is contrary to our normal style, where failed parsing has no effect.
Moving it to shared also allows a test to be added.
src/basic/strv.h
src/core/main.c
src/core/manager.c
src/shared/conf-parser.c
src/shared/conf-parser.h
src/test/test-conf-parser.c