To do that the current tests are move inside a
test_ls_cmd() function. This function is then first
called before running the daemon for offline tests
and then after starting the daemon for online tests.
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>