resilient without durable
authorStefan Metzmacher <metze@samba.org>
Tue, 8 Nov 2011 15:31:37 +0000 (16:31 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 10 May 2012 16:47:07 +0000 (18:47 +0200)
source4/torture/smb2/resilient_open.c

index a8c2562d4830f42486f460c1fa786651b2585c34..a093f899ae1bfee94648804a22aa4e05e70d482d 100644 (file)
@@ -140,7 +140,7 @@ bool test_resilient_open_open1(struct torture_context *tctx,
                                          NTCREATEX_OPTIONS_NON_DIRECTORY_FILE |
                                          0x00200000 |
                                          NTCREATEX_OPTIONS_DELETE_ON_CLOSE;
-       cr.in.durable_open              = true;
+       cr.in.durable_open              = false;
        cr.in.fname                     = fname;
        cr.in.share_access              = map_sharemode("RWD");
        cr.in.oplock_level              = SMB2_OPLOCK_LEVEL_LEASE;
@@ -151,7 +151,7 @@ bool test_resilient_open_open1(struct torture_context *tctx,
        _h = cr.out.file.handle;
        h = &_h;
        CHECK_CREATED(&cr, CREATED, FILE_ATTRIBUTE_ARCHIVE);
-       CHECK_VAL(cr.out.durable_open, true);
+       CHECK_VAL(cr.out.durable_open, false);
        CHECK_VAL(cr.out.oplock_level, SMB2_OPLOCK_LEVEL_LEASE);
 
        SIVAL(resiliency, 0, 60*1000);