git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b041d28
)
s4:torture:smb2:durable-open: make a comment more precise in the reopen4 test
author
Michael Adam
<obnox@samba.org>
Thu, 23 Feb 2012 22:25:18 +0000
(23:25 +0100)
committer
Michael Adam
<obnox@samba.org>
Mon, 27 Feb 2012 01:08:27 +0000
(
02:08
+0100)
source4/torture/smb2/durable_open.c
patch
|
blob
|
history
diff --git
a/source4/torture/smb2/durable_open.c
b/source4/torture/smb2/durable_open.c
index d4dff5e08c176121aca1a2b3a70b5a11ebb25d9d..d0f7c4e52d5b76d10278e793c8784716ac6d3b02 100644
(file)
--- a/
source4/torture/smb2/durable_open.c
+++ b/
source4/torture/smb2/durable_open.c
@@
-551,7
+551,10
@@
bool test_durable_open_reopen4(struct torture_context *tctx,
CHECK_VAL(io1.out.durable_open, true);
CHECK_VAL(io1.out.oplock_level, smb2_util_oplock_level("b"));
- /* disconnect, reconnect and then do durable reopen */
+ /*
+ * do a session logoff, establish a new session and tree
+ * connect on the same transport, and try a durable reopen
+ */
transport = tree->session->transport;
status = smb2_logoff(tree->session);
CHECK_STATUS(status, NT_STATUS_OK);