[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha5-90-ga4c3a59

Volker Lendecke vlendec at samba.org
Sat Jul 19 10:45:46 GMT 2008


The branch, v4-0-test has been updated
       via  a4c3a59d47b2b1c794eda556d252c61907be1b3c (commit)
      from  d2a527acc5ee6fe9b943657dc9c3ace920b2d619 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit a4c3a59d47b2b1c794eda556d252c61907be1b3c
Author: Volker Lendecke <vl at samba.org>
Date:   Sat Jul 19 12:47:31 2008 +0200

    Fix RAW-OPEN against Samba3
    
    This test assumed that fnums are recycled immediately after a close. This is
    not true on Samba 3.
    
    Andrew B., I assume this is just a bug in the test. Assuming recycled fnums
    might be true on Windows and Samba 4, but I don't think we should assume this
    everywhere.
    
    Volker

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

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


Changeset truncated at 500 lines:

diff --git a/source/torture/raw/open.c b/source/torture/raw/open.c
index 1901338..b6979fa 100644
--- a/source/torture/raw/open.c
+++ b/source/torture/raw/open.c
@@ -983,6 +983,7 @@ static bool test_nttrans_create(struct smbcli_state *cli, struct torture_context
 		io.ntcreatex.in.create_options = create_option;
 		status = smb_raw_open(cli->tree, tctx, &io);
 		CHECK_STATUS(status, NT_STATUS_OK);
+		fnum = io.ntcreatex.out.file.fnum;
 
 		CHECK_VAL(io.ntcreatex.out.oplock_level, 0);
 		CHECK_VAL(io.ntcreatex.out.create_action, NTCREATEX_ACTION_EXISTED);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list