From d3946fed75799739859c1d08f0a7dd361a39908e Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 7 Sep 2012 14:29:05 +0200 Subject: [PATCH] s4:torture:smb2: fix cut'n'paste error in the durable-v2-open.reopen2 test Signed-off-by: Stefan Metzmacher --- source4/torture/smb2/durable_v2_open.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.11.4.GIT