git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
resilient without durable
[metze/samba/wip.git]
/
source4
/
torture
/
smb2
/
resilient_open.c
diff --git
a/source4/torture/smb2/resilient_open.c
b/source4/torture/smb2/resilient_open.c
index a8c2562d4830f42486f460c1fa786651b2585c34..a093f899ae1bfee94648804a22aa4e05e70d482d 100644
(file)
--- a/
source4/torture/smb2/resilient_open.c
+++ b/
source4/torture/smb2/resilient_open.c
@@
-140,7
+140,7
@@
bool test_resilient_open_open1(struct torture_context *tctx,
NTCREATEX_OPTIONS_NON_DIRECTORY_FILE |
0x00200000 |
NTCREATEX_OPTIONS_DELETE_ON_CLOSE;
NTCREATEX_OPTIONS_NON_DIRECTORY_FILE |
0x00200000 |
NTCREATEX_OPTIONS_DELETE_ON_CLOSE;
- cr.in.durable_open =
tru
e;
+ cr.in.durable_open =
fals
e;
cr.in.fname = fname;
cr.in.share_access = map_sharemode("RWD");
cr.in.oplock_level = SMB2_OPLOCK_LEVEL_LEASE;
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);
_h = cr.out.file.handle;
h = &_h;
CHECK_CREATED(&cr, CREATED, FILE_ATTRIBUTE_ARCHIVE);
- CHECK_VAL(cr.out.durable_open,
tru
e);
+ CHECK_VAL(cr.out.durable_open,
fals
e);
CHECK_VAL(cr.out.oplock_level, SMB2_OPLOCK_LEVEL_LEASE);
SIVAL(resiliency, 0, 60*1000);
CHECK_VAL(cr.out.oplock_level, SMB2_OPLOCK_LEVEL_LEASE);
SIVAL(resiliency, 0, 60*1000);