1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

ctdb-tests: Add fake ctdb daemon implementation for testing

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
Amitay Isaacs 2016-04-22 17:30:52 +10:00 committed by Amitay Isaacs
parent 627e9a99f4
commit 07119045f0
2 changed files with 2309 additions and 0 deletions

2303
ctdb/tests/src/fake_ctdbd.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -712,6 +712,12 @@ def build(bld):
includes='include',
install_path='${CTDB_TEST_LIBDIR}')
bld.SAMBA_BINARY('fake_ctdbd',
source='tests/src/fake_ctdbd.c',
deps='''ctdb-util ctdb-protocol ctdb-system
samba-util tevent-unix-util popt''',
install_path='${CTDB_TEST_LIBDIR}')
if bld.env.HAVE_INFINIBAND:
bld.SAMBA_BINARY('ibwrapper_test',
source='ib/ibwrapper_test.c',