summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-06 17:52:33 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-06 19:07:42 +0200
commit0b8184d9d40c6ccb10209973e6bbeccee4dc000a (patch)
treeaeba261ca64c2b0aed544730c38be5720c235089 /source4/torture
parent43c865a38e534ec6f01643f9609cbccd9de976f8 (diff)
downloadsamba-0b8184d9d40c6ccb10209973e6bbeccee4dc000a.tar.gz
samba-0b8184d9d40c6ccb10209973e6bbeccee4dc000a.tar.bz2
samba-0b8184d9d40c6ccb10209973e6bbeccee4dc000a.zip
s4:torture/smb2: s/smb2cli_unlock/test_smb2_unlock
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jul 6 19:07:42 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/smb2/lock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/smb2/lock.c b/source4/torture/smb2/lock.c
index 078143e91b..348312657b 100644
--- a/source4/torture/smb2/lock.c
+++ b/source4/torture/smb2/lock.c
@@ -2632,8 +2632,8 @@ static NTSTATUS test_smb2_lock(struct smb2_tree *tree, struct smb2_handle h,
return status;
}
-static NTSTATUS smb2cli_unlock(struct smb2_tree *tree, struct smb2_handle h,
- uint64_t offset, uint64_t length)
+static NTSTATUS test_smb2_unlock(struct smb2_tree *tree, struct smb2_handle h,
+ uint64_t offset, uint64_t length)
{
struct smb2_lock lck;
struct smb2_lock_element el[1];
@@ -2731,7 +2731,7 @@ static bool test_overlap(struct torture_context *torture,
ret = NT_STATUS_IS_OK(test_smb2_lock(tree, h, 110, 4, false)) &&
NT_STATUS_IS_OK(test_smb2_lock(tree, h, 112, 4, false)) &&
- NT_STATUS_IS_OK(smb2cli_unlock(tree, h, 110, 6));
+ NT_STATUS_IS_OK(test_smb2_unlock(tree, h, 110, 6));
EXPECTED(ret, false);
torture_comment(torture, "the same handle %s coalesce read locks\n",
ret?"can":"cannot");