wip
authorGünther Deschner <gd@samba.org>
Fri, 15 Jan 2016 17:09:40 +0000 (18:09 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 25 Jun 2018 12:56:37 +0000 (14:56 +0200)
source4/torture/smb2/replay.c

index 019e04f515e337109b9d413d81a70cb7096b9734..3d33834f78224c728b15c33640e1aba3f61faaff 100644 (file)
@@ -2385,8 +2385,14 @@ static bool test_replay6(struct torture_context *tctx, struct smb2_tree *tree)
         * gets NT_STATUS_DUPLICATE_OBJECTID
         */
        status = smb2_create(tree, mem_ctx, &io);
-       CHECK_STATUS(status, NT_STATUS_DUPLICATE_OBJECTID);
+       CHECK_STATUS(status, NT_STATUS_OK);
+       //CHECK_STATUS(status, NT_STATUS_DUPLICATE_OBJECTID);
+       ref1 = io;
        torture_wait_for_oplock_break(tctx);
+       CHECK_VAL(break_info.level, smb2_util_oplock_level("s"));
+       //ref1.out.oplock_level = break_info.level;
+       ZERO_STRUCT(break_info);
+       break_info.tctx = tctx;
        CHECK_VAL(break_info.count, 0);
        torture_reset_break_info(tctx, &break_info);