diff options
author | Zack Kirsch <zack.kirsch@isilon.com> | 2009-02-09 21:59:40 -0800 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2009-02-11 12:23:32 -0800 |
commit | 307f4a66acfe3836550d57caf9aba347b24ba61e (patch) | |
tree | d21fd6b299a8e13d1181f8cdd2ba1c04cef85fbc /source4/torture | |
parent | dc9387ec42b40ace38ba398148f5c20ae13e4a2c (diff) | |
download | samba-307f4a66acfe3836550d57caf9aba347b24ba61e.tar.gz samba-307f4a66acfe3836550d57caf9aba347b24ba61e.tar.xz samba-307f4a66acfe3836550d57caf9aba347b24ba61e.zip |
s4 torture: Two minor fixes to smbtorture BRL tests.
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/basic/locking.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/lock.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/source4/torture/basic/locking.c b/source4/torture/basic/locking.c index fcac52ca6a..06a960bc81 100644 --- a/source4/torture/basic/locking.c +++ b/source4/torture/basic/locking.c @@ -610,7 +610,7 @@ ret = NT_STATUS_IS_OK(smbcli_unlock(cli1->tree, fnum1, 0, 4)) && NT_STATUS_IS_OK(smbcli_unlock(cli1->tree, fnum1, 0, 4)); EXPECTED(ret, true); - torture_comment(tctx, "the same process %s unlock the stack of 4 locks\n", ret?"can":"cannot"); + torture_comment(tctx, "the same process %s unlock the stack of 3 locks\n", ret?"can":"cannot"); /* Ensure the next unlock fails. */ ret = NT_STATUS_IS_OK(smbcli_unlock(cli1->tree, fnum1, 0, 4)); diff --git a/source4/torture/raw/lock.c b/source4/torture/raw/lock.c index 2d1eae3a69..d80d538167 100644 --- a/source4/torture/raw/lock.c +++ b/source4/torture/raw/lock.c @@ -410,8 +410,6 @@ static bool test_pidhigh(struct torture_context *tctx, goto done; } - cli->session->pid |= 0x10000; - cli->session->pid = 2; if (smbcli_read(cli->tree, fnum, &c, 0, 1) == 1) { |