summaryrefslogtreecommitdiff
path: root/source4/torture/smb2
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-09-07 14:29:05 +0200
committerStefan Metzmacher <metze@samba.org>2012-09-07 23:39:25 +0200
commitd3946fed75799739859c1d08f0a7dd361a39908e (patch)
treec9e098606bb899fa0d6432a17bd16205220f3310 /source4/torture/smb2
parente1dd2fc2fa966036f7e0c5cf64416a630d607efa (diff)
downloadsamba-d3946fed75799739859c1d08f0a7dd361a39908e.tar.gz
samba-d3946fed75799739859c1d08f0a7dd361a39908e.tar.bz2
samba-d3946fed75799739859c1d08f0a7dd361a39908e.zip
s4:torture:smb2: fix cut'n'paste error in the durable-v2-open.reopen2 test
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/torture/smb2')
-rw-r--r--source4/torture/smb2/durable_v2_open.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/smb2/durable_v2_open.c b/source4/torture/smb2/durable_v2_open.c
index 3b5f7b632c..7e0e0f4616 100644
--- a/source4/torture/smb2/durable_v2_open.c
+++ b/source4/torture/smb2/durable_v2_open.c
@@ -531,9 +531,9 @@ bool test_durable_v2_open_reopen2(struct torture_context *tctx,
status = smb2_create(tree, mem_ctx, &io2);
CHECK_STATUS(status, NT_STATUS_OK);
CHECK_CREATED(&io2, EXISTED, FILE_ATTRIBUTE_ARCHIVE);
- CHECK_VAL(io1.out.durable_open, false);
- CHECK_VAL(io1.out.durable_open_v2, true);
- CHECK_VAL(io1.out.persistent_open, false);
+ CHECK_VAL(io2.out.durable_open, false);
+ CHECK_VAL(io2.out.durable_open_v2, true);
+ CHECK_VAL(io2.out.persistent_open, false);
CHECK_VAL(io2.out.oplock_level, smb2_util_oplock_level("b"));
_h = io2.out.file.handle;
h = &_h;