s4 torture: Two minor fixes to smbtorture BRL tests.
authorZack Kirsch <zack.kirsch@isilon.com>
Tue, 10 Feb 2009 05:59:40 +0000 (21:59 -0800)
committerTim Prouty <tprouty@samba.org>
Wed, 11 Feb 2009 20:23:32 +0000 (12:23 -0800)
source4/torture/basic/locking.c
source4/torture/raw/lock.c

index fcac52ca6a1122b5ed4131785d7220d15253da8c..06a960bc81242db63db3b14199062da27e02b764 100644 (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));
index 2d1eae3a696ed196b20a46c06821a2d5ddb3b566..d80d538167a3a16711049002905ca3076616f14f 100644 (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) {