summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-02-23 23:25:18 +0100
committerMichael Adam <obnox@samba.org>2012-02-27 02:08:27 +0100
commitd5cefee6fcb2b06fd25348a057a4eae93a7edf85 (patch)
tree637d8c44d89ccded5d2a51009fc76910d95e326a /source4/torture
parentb041d28fea70dce8e94fbe772b39bf3ee678eb4f (diff)
downloadsamba-d5cefee6fcb2b06fd25348a057a4eae93a7edf85.tar.gz
samba-d5cefee6fcb2b06fd25348a057a4eae93a7edf85.tar.bz2
samba-d5cefee6fcb2b06fd25348a057a4eae93a7edf85.zip
s4:torture:smb2:durable-open: make a comment more precise in the reopen4 test
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/smb2/durable_open.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/torture/smb2/durable_open.c b/source4/torture/smb2/durable_open.c
index d4dff5e08c..d0f7c4e52d 100644
--- 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);