diff options
author | Amitay Isaacs <amitay@gmail.com> | 2018-03-19 14:26:09 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2018-03-27 04:27:24 +0200 |
commit | 7da9802acdb1ec1d76050064f54aae38b21a03d4 (patch) | |
tree | 918774a183d40ecbf81f1ec5ad4ae5427f247ab0 /ctdb | |
parent | c86565885d8aefc3d67ed80165332bfaa3f33ea4 (diff) | |
download | samba-7da9802acdb1ec1d76050064f54aae38b21a03d4.tar.gz |
ctdb-tests: Add debug messages for unimplemented functions
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb')
-rw-r--r-- | ctdb/tests/src/fake_ctdbd.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 */ |