Add unit tests for irccd/irccdctl executables
|Status:||In Progress||Start date:||03/26/2018|
|Assignee:||David Demelier||% Done:|
|Category:||Tests||Estimated time:||8.00 h|
|MFD revision:||Submitted by:|
Add tests for the input, output of all executables.
Tests: rework cli_test to spawn irccd daemon in a thread, continue #785
Instead of spawning irccd executable, use the irccd class for better
flexibility in test code.
For example, for server tests we will need to use journal_server to see if
commands have been called instead of checking a real IRC server.
While here, add rule-cli-remove test that was forgotten.