From: Michael Adam Date: Fri, 7 Sep 2012 12:29:05 +0000 (+0200) Subject: s4:torture:smb2: fix cut'n'paste error in the durable-v2-open.reopen2 test X-Git-Tag: samba-4.0.0rc1~144 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d3946fed75799739859c1d08f0a7dd361a39908e;p=thirdparty%2Fsamba.git s4:torture:smb2: fix cut'n'paste error in the durable-v2-open.reopen2 test Signed-off-by: Stefan Metzmacher --- diff --git a/source4/torture/smb2/durable_v2_open.c b/source4/torture/smb2/durable_v2_open.c index 3b5f7b632c1..7e0e0f4616a 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;