[PATCH] CTDB local daemons test improvements

Martin Schwenke martin at meltin.net
Mon Feb 29 09:22:19 UTC 2016

Updates the local daemons test code to use ctdbd_wrapper to start the
daemons instead of hardcoding command-line options.

The main point is to allow options to the local daemons to be easily
overridden via the environment.  This could be done in individual tests
when starting CTDB and also on the command-line when doing initial
developer testing.

This also does trivial implicit testing of ctdbd_wrapper, which is
relatively untested.  However, allowing the configuration file to be
specified opens up the possibility of actually writing tests for it!

Please review and maybe push...

peace & happiness,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctdb.patch
Type: text/x-patch
Size: 8341 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160229/4165570c/ctdb.bin>

More information about the samba-technical mailing list