s4-torture: add torture_comment in lease_break_handler.
authorGünther Deschner <gd@samba.org>
Thu, 29 Sep 2016 08:38:29 +0000 (10:38 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 25 Jun 2018 12:56:39 +0000 (14:56 +0200)
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Pair-Programmed-With: Jose A. Rivera <jarrpa@samba.org>

source4/torture/smb2/lease_break_handler.c

index b70234420bdc3bc75571d6adaebec2806ab89a23..fb1dc7440ae00e91eb075b80ff92541b32e843cc 100644 (file)
@@ -59,6 +59,10 @@ bool torture_lease_handler(struct smb2_transport *transport,
                return true;
        }
 
+       torture_comment(lease_break_info.tctx,
+                       "transport[%p] Acking to %s [0x%02X] in lease handler\n",
+                       transport, "", 0);
+
        if (lb->break_flags & SMB2_NOTIFY_BREAK_LEASE_FLAG_ACK_REQUIRED) {
                ZERO_STRUCT(io);
                io.in.lease.lease_key = lb->current_lease.lease_key;