[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Thu Dec 28 01:23:04 UTC 2017


The branch, master has been updated
       via  dcfa6c0 torture: Fix CID 1426987 Incorrect expression (UNUSED_VALUE)
      from  8a42954 samba-tool test: ensure `samba-tool help` works

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit dcfa6c021fa74a3e8e380ea99e768af3c5e37e0c
Author: Volker Lendecke <vl at samba.org>
Date:   Wed Dec 27 13:19:06 2017 +0100

    torture: Fix CID 1426987 Incorrect expression (UNUSED_VALUE)
    
    Signed-off-by: Volker Lendecke <vl at samba.org>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Autobuild-User(master): Volker Lendecke <vl at samba.org>
    Autobuild-Date(master): Thu Dec 28 02:22:04 CET 2017 on sn-devel-144

-----------------------------------------------------------------------

Summary of changes:
 source4/torture/smb2/session.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/source4/torture/smb2/session.c b/source4/torture/smb2/session.c
index aad8610..15a11e2 100644
--- a/source4/torture/smb2/session.c
+++ b/source4/torture/smb2/session.c
@@ -1387,7 +1387,7 @@ static bool test_session_expire2(struct torture_context *tctx)
 		ZERO_STRUCT(lack);
 		lack.in.lease.lease_version = 1;
 		lack.in.lease.lease_key.data[0] = 1;
-		lack.in.lease.lease_key.data[0] = 2;
+		lack.in.lease.lease_key.data[1] = 2;
 		status = smb2_lease_break_ack(tree, &lack);
 		torture_assert_ntstatus_equal_goto(tctx, status,
 					NT_STATUS_NETWORK_SESSION_EXPIRED,


-- 
Samba Shared Repository



More information about the samba-cvs mailing list