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)
committerStefan Metzmacher <metze@samba.org>
Mon, 10 Feb 2020 14:13:02 +0000 (15:13 +0100)
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 d741127f3d591b70a6004f32ffec783bb30c7936..0b734ebaf6cc1a4588f377ca8ca83dfcfd5e4d4d 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;