From: Amitay Isaacs Date: Mon, 19 Mar 2018 03:26:09 +0000 (+1100) Subject: ctdb-tests: Add debug messages for unimplemented functions X-Git-Tag: talloc-2.1.13~230 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7da9802acdb1ec1d76050064f54aae38b21a03d4;p=thirdparty%2Fsamba.git ctdb-tests: Add debug messages for unimplemented functions Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- diff --git a/ctdb/tests/src/fake_ctdbd.c b/ctdb/tests/src/fake_ctdbd.c index 070feda3b23..7d18de4cc9d 100644 --- a/ctdb/tests/src/fake_ctdbd.c +++ b/ctdb/tests/src/fake_ctdbd.c @@ -3553,6 +3553,8 @@ static void control_error(TALLOC_CTX *mem_ctx, { struct ctdb_reply_control reply; + D_DEBUG("Control %u not implemented\n", request->opcode); + reply.rdata.opcode = request->opcode; reply.status = -1; reply.errmsg = "Not implemented"; @@ -3957,6 +3959,8 @@ static void client_process_message(struct tevent_req *req, message_disable_recoveries(mem_ctx, req, &header, &request); } else if (srvid == CTDB_SRVID_TAKEOVER_RUN) { message_takeover_run(mem_ctx, req, &header, &request); + } else { + D_DEBUG("Message id 0x%"PRIx64" not implemented\n", srvid); } /* check srvid */