summaryrefslogtreecommitdiffstats
path: root/python/uuidmodule.c
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2014-03-17 13:42:35 +1100
committerAmitay Isaacs <amitay@samba.org>2014-03-23 04:20:14 +0100
commit79d28000043bd463beecaeac47855d3a4970eaf2 (patch)
treeb15970341536986b5a047cae261b5feab457dac0 /python/uuidmodule.c
parent9bede494743f0ce13493fe718ed8f0c3c5f2959c (diff)
downloadsamba-79d28000043bd463beecaeac47855d3a4970eaf2.tar.gz
samba-79d28000043bd463beecaeac47855d3a4970eaf2.tar.xz
samba-79d28000043bd463beecaeac47855d3a4970eaf2.zip
ctdb-tests: Add "ctdb listnodes" and "ctdb xpnn" stub tests
Tests for xpnn need to implement a stub for ctdb_sys_have_ip(). The cheapest way of doing this is to read a fake nodemap using the existing code and check if the IP of the "current" node is the one being asked about. However, the fake state initialisation isn't currently available to without_daemon commands because it is meant to represent daemon state. However, it can be made available by moving the relevant code into a new stub for tevent_context_init(). The stub still needs to initialise a tevent context - this can be done by calling a lower level function. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'python/uuidmodule.c')
0 files changed, 0 insertions, 0 deletions