git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa2ecfe
)
fixed SMB2-LOCK test for new semantics (from docs)
author
Andrew Tridgell
<tridge@samba.org>
Wed, 4 Jun 2008 20:04:48 +0000
(13:04 -0700)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 4 Jun 2008 20:04:48 +0000
(13:04 -0700)
source/torture/smb2/lock.c
patch
|
blob
|
history
diff --git
a/source/torture/smb2/lock.c
b/source/torture/smb2/lock.c
index 35ad8396107bffde8a263c076713576650c57b3a..1b08efc0fa4967b74a392e86ad83adae47725bbd 100644
(file)
--- a/
source/torture/smb2/lock.c
+++ b/
source/torture/smb2/lock.c
@@
-268,11
+268,7
@@
static bool test_valid_request(struct torture_context *torture, struct smb2_tree
lck.in.lock_count = 1;
el[0].flags = SMB2_LOCK_FLAG_UNLOCK;
status = smb2_lock(tree, &lck);
- if (torture_setting_bool(torture, "windows", false)) {
- CHECK_STATUS(status, NT_STATUS_RANGE_NOT_LOCKED);
- } else {
- CHECK_STATUS(status, NT_STATUS_OK);
- }
+ CHECK_STATUS(status, NT_STATUS_RANGE_NOT_LOCKED);
lck.in.lock_count = 1;
el[0].flags = SMB2_LOCK_FLAG_UNLOCK;