Tests: Initial test code for LCP2 IP allocation algorithm.
authorMartin Schwenke <martin@meltin.net>
Thu, 28 Jul 2011 05:22:42 +0000 (15:22 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 28 Jul 2011 22:54:27 +0000 (08:54 +1000)
commit889f9df7cacf1191097883182802ccf10daf111b
treef1de3f114d9fbc2e7ce167a62f7e84bea868946e
parentfe84e07e94675ade4db56b2e55fa049476171633
Tests: Initial test code for LCP2 IP allocation algorithm.

Move struct ctdb_public_ip_list to ctdb_private.h and put some
definitions for some functions from ctdb_takeover.c there.  This
allows those functions to be called from unit tests.

Add ctdb_takeover_tests.c and the Makefile support to build it.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Makefile.in
include/ctdb_private.h
server/ctdb_takeover.c
tests/src/ctdb_takeover_tests.c [new file with mode: 0644]