1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s4 torture: Two minor fixes to smbtorture BRL tests.

This commit is contained in:
Zack Kirsch 2009-02-09 21:59:40 -08:00 committed by Tim Prouty
parent dc9387ec42
commit 307f4a66ac
2 changed files with 1 additions and 3 deletions

View File

@ -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));

View File

@ -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) {