[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Mon Oct 7 22:07:08 UTC 2019


The branch, master has been updated
       via  78161550bac torture: Allow running on FS that does not support EAs
      from  222f2538636 replace: Improve sys/sysctl.h check to catch warning on glibc >= 2.30

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


- Log -----------------------------------------------------------------
commit 78161550bac4bdbbea7f187b70413c55ef62fad2
Author: Gordon Ross <gwr at nexenta.com>
Date:   Mon May 9 13:45:07 2016 -0400

    torture: Allow running on FS that does not support EAs
    
    Signed-off-by: Gordon Ross <gordon.w.ross at gmail.com>
    Reviewed-by: Volker Lendecke <vl at samba.org>
    Reviewed-by: Jeremy Allison <jra at samba.org>
    
    Autobuild-User(master): Jeremy Allison <jra at samba.org>
    Autobuild-Date(master): Mon Oct  7 22:05:59 UTC 2019 on sn-devel-184

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

Summary of changes:
 source4/torture/smb2/util.c | 7 +++++++
 1 file changed, 7 insertions(+)


Changeset truncated at 500 lines:

diff --git a/source4/torture/smb2/util.c b/source4/torture/smb2/util.c
index 04212650c30..bdae7886ede 100644
--- a/source4/torture/smb2/util.c
+++ b/source4/torture/smb2/util.c
@@ -102,6 +102,13 @@ static NTSTATUS smb2_create_complex(struct torture_context *tctx,
 	}
 
 	status = smb2_create(tree, tmp_ctx, &io);
+	if (NT_STATUS_EQUAL(status, NT_STATUS_EAS_NOT_SUPPORTED)) {
+		torture_comment(
+			tctx, "EAs not supported, creating: %s\n", fname);
+		io.in.eas.num_eas = 0;
+		status = smb2_create(tree, tmp_ctx, &io);
+	}
+
 	talloc_free(tmp_ctx);
 	NT_STATUS_NOT_OK_RETURN(status);
 


-- 
Samba Shared Repository



More information about the samba-cvs mailing list