[SCM] Samba Shared Repository - branch master updated
Michael Adam
obnox at samba.org
Mon Feb 20 10:35:03 MST 2012
The branch, master has been updated
via 9d66ad8 s4:torture:smb2: invalidate the handle after the connection has been killed
via 71164ce s4:torture: improve comment for the smb2.durable-open.reopen1 test
from e9b9ba1 s3-vfstest: Remove an unused variable
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 9d66ad8c30bd962758143a09d07034bc4f861757
Author: Michael Adam <obnox at samba.org>
Date: Mon Feb 20 16:25:42 2012 +0100
s4:torture:smb2: invalidate the handle after the connection has been killed
Not to run into using the old handle with a new tree connect in the error case.
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Mon Feb 20 18:34:48 CET 2012 on sn-devel-104
commit 71164cef612d39858827d816b8dda31e5cb598be
Author: Michael Adam <obnox at samba.org>
Date: Sun Feb 19 00:10:37 2012 +0100
s4:torture: improve comment for the smb2.durable-open.reopen1 test
-----------------------------------------------------------------------
Summary of changes:
source4/torture/smb2/durable_open.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/torture/smb2/durable_open.c b/source4/torture/smb2/durable_open.c
index 09c6407..f54e41c 100644
--- a/source4/torture/smb2/durable_open.c
+++ b/source4/torture/smb2/durable_open.c
@@ -322,6 +322,7 @@ done:
/**
* basic test for doing a durable open
* and do a durable reopen on the same connection
+ * while the first open is still active (fails)
*/
bool test_durable_open_reopen1(struct torture_context *tctx,
struct smb2_tree *tree)
@@ -422,6 +423,7 @@ bool test_durable_open_reopen2(struct torture_context *tctx,
ZERO_STRUCT(io2);
io2.in.fname = fname;
io2.in.durable_handle = h;
+ h = NULL;
status = smb2_create(tree, mem_ctx, &io2);
CHECK_STATUS(status, NT_STATUS_OK);
--
Samba Shared Repository
More information about the samba-cvs
mailing list