summaryrefslogtreecommitdiff
path: root/source4/torture/raw/lock.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-04-03 08:28:22 +1100
committerAndrew Bartlett <abartlet@samba.org>2009-04-03 08:28:22 +1100
commit2f04b7d29a9e93152ff40a04afa50d3755ff0a25 (patch)
treeccef6bba0937d61bd461335e510db9813b5c24ce /source4/torture/raw/lock.c
parent354ba5e2e35c0adb2dd04f81a6ce7d1d721f31dc (diff)
parent31ab1d6a6487fb442ccd5b2cd093b4a2b7b80291 (diff)
downloadsamba-2f04b7d29a9e93152ff40a04afa50d3755ff0a25.tar.gz
samba-2f04b7d29a9e93152ff40a04afa50d3755ff0a25.tar.bz2
samba-2f04b7d29a9e93152ff40a04afa50d3755ff0a25.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba into wspp-schema
Diffstat (limited to 'source4/torture/raw/lock.c')
-rw-r--r--source4/torture/raw/lock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/raw/lock.c b/source4/torture/raw/lock.c
index 72a03e1623..7e3ac29809 100644
--- a/source4/torture/raw/lock.c
+++ b/source4/torture/raw/lock.c
@@ -364,7 +364,7 @@ static bool test_lockx(struct torture_context *tctx, struct smbcli_state *cli)
lock[0].count = 2;
status = smb_raw_lock(cli->tree, &io);
if (TARGET_IS_WIN7(tctx))
- CHECK_STATUS(status, NT_STATUS_WIN7_INVALID_RANGE);
+ CHECK_STATUS(status, NT_STATUS_INVALID_LOCK_RANGE);
else
CHECK_STATUS(status, NT_STATUS_OK);
lock[0].pid--;
@@ -376,7 +376,7 @@ static bool test_lockx(struct torture_context *tctx, struct smbcli_state *cli)
/* XXX This is very strange - Win7 gives us an invalid range when we
* unlock the range even though the range is locked! Win7 bug? */
if (TARGET_IS_WIN7(tctx))
- CHECK_STATUS(status, NT_STATUS_WIN7_INVALID_RANGE);
+ CHECK_STATUS(status, NT_STATUS_INVALID_LOCK_RANGE);
else {
CHECK_STATUS(status, NT_STATUS_OK);
status = smb_raw_lock(cli->tree, &io);