s4:torture:smb2: fix cut'n'paste error in the durable-v2-open.reopen2 test
authorMichael Adam <obnox@samba.org>
Fri, 7 Sep 2012 12:29:05 +0000 (14:29 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 7 Sep 2012 21:39:25 +0000 (23:39 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/torture/smb2/durable_v2_open.c

index 3b5f7b632c1c3e6ddaf6588d919fcf8fdf96d258..7e0e0f4616ab72db3398d668fd8c803b3b506e9f 100644 (file)
@@ -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;