tests/tool: Rework test programs so they no longer expect libctdb
commitf3b179081933fc942c6fbcac3630203bbb24f0ed
authorMartin Schwenke <martin@meltin.net>
Wed, 18 Sep 2013 04:01:00 +0000 (18 14:01 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Fri, 4 Oct 2013 05:15:35 +0000 (4 15:15 +1000)
treea0466c2275e8b25b490a3eccc19b43be53d70510
parenta6992b7b0711b653f9c37f1fa1314e2e632b0b5b
tests/tool: Rework test programs so they no longer expect libctdb

Instead, override controls using preprocessor magic.

Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 10aac42f30cc0d56dca42ece17d04ccbc321056d)
ctdb/tests/src/ctdb_test.c
ctdb/tests/src/ctdb_tool_libctdb.c
ctdb/tests/src/ctdb_tool_stubby.c
ctdb/tests/src/libctdb_test.c