The branch, v4-0-test has been updated
       via  da9a5b571ea87b2e08c74463d3fae58a9eb0828a (commit)
      from  88f9e11286bf0f12fc766dbf21f311e5373f0811 (commit)

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


- Log -----------------------------------------------------------------
commit da9a5b571ea87b2e08c74463d3fae58a9eb0828a
Author: Volker Lendecke <[EMAIL PROTECTED]>
Date:   Sun Jan 20 15:51:02 2008 +0100

    Add an exception for S3
    
    Doing this correctly would involve a create_file call for qpathinfo

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

Summary of changes:
 source/torture/raw/streams.c |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/torture/raw/streams.c b/source/torture/raw/streams.c
index bbc0bca..ca6b488 100644
--- a/source/torture/raw/streams.c
+++ b/source/torture/raw/streams.c
@@ -490,9 +490,16 @@ static bool test_stream_delete(struct torture_context 
*tctx,
        status = smb_raw_pathinfo(cli->tree, mem_ctx, &finfo);
        CHECK_STATUS(status, NT_STATUS_DELETE_PENDING);
 
-       finfo.generic.in.file.path = sname1;
-       status = smb_raw_pathinfo(cli->tree, mem_ctx, &finfo);
-       CHECK_STATUS(status, NT_STATUS_DELETE_PENDING);
+       if (!torture_setting_bool(tctx, "samba3", false)) {
+
+               /*
+                * S3 doesn't do this yet
+                */
+
+               finfo.generic.in.file.path = sname1;
+               status = smb_raw_pathinfo(cli->tree, mem_ctx, &finfo);
+               CHECK_STATUS(status, NT_STATUS_DELETE_PENDING);
+       }
 
        /*
         * fd-based qfileinfo on the stream still works, the stream does not


-- 
Samba Shared Repository

Reply via email to