The branch, master has been updated
       via  2977c65... s4 torture: RAW-WRITE should check lockread_supported
      from  dd2fad0... SMB2 correctness fix. As we've already returned the 
credits in an interim response, don't add more in the final return.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 2977c659ea1c2b647b8afd4c83cf82eac7e3ec2f
Author: Zachary Loafman <[email protected]>
Date:   Wed Nov 18 00:21:44 2009 +0000

    s4 torture: RAW-WRITE should check lockread_supported
    
    Signed-off-by: Tim Prouty <[email protected]>

-----------------------------------------------------------------------

Summary of changes:
 source4/torture/raw/write.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/torture/raw/write.c b/source4/torture/raw/write.c
index a1fde16..9a21611 100644
--- a/source4/torture/raw/write.c
+++ b/source4/torture/raw/write.c
@@ -243,6 +243,11 @@ static bool test_writex(struct torture_context *tctx,
 
        buf = talloc_zero_array(tctx, uint8_t, maxsize);
 
+       if (!cli->transport->negotiate.lockread_supported) {
+               printf("Server does not support writeunlock - skipping\n");
+               return true;
+       }
+
        if (!torture_setup_dir(cli, BASEDIR)) {
                return false;
        }


-- 
Samba Shared Repository

Reply via email to