[SCM] Samba Shared Repository - branch v4-0-test updated -
release-4-0-0alpha4-35-gd4d4d62
Andrew Tridgell
tridge at samba.org
Wed Jun 4 20:05:41 GMT 2008
The branch, v4-0-test has been updated
via d4d4d62939e325f8529b11fcd2d490e8f63293b0 (commit)
from fa2ecfea7a1acc388a86e8fba5b42df7925c9045 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test
- Log -----------------------------------------------------------------
commit d4d4d62939e325f8529b11fcd2d490e8f63293b0
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jun 4 13:04:48 2008 -0700
fixed SMB2-LOCK test for new semantics (from docs)
-----------------------------------------------------------------------
Summary of changes:
source/torture/smb2/lock.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/torture/smb2/lock.c b/source/torture/smb2/lock.c
index 35ad839..1b08efc 100644
--- 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;
--
Samba Shared Repository
More information about the samba-cvs
mailing list