[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Wed Mar 31 21:21:01 UTC 2021


The branch, master has been updated
       via  1b183f57512 selftest: Allow to set the 'log level' for clients
      from  12f516e4680 rpc_server3: Fix a memleak for internal pipes

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


- Log -----------------------------------------------------------------
commit 1b183f5751248e5c1b853daf0984996f0c5e9c31
Author: Andreas Schneider <asn at samba.org>
Date:   Wed Mar 31 15:24:20 2021 +0200

    selftest: Allow to set the 'log level' for clients
    
    This allows to set the 'log level' for clients on the command line:
    
        make test TESTS=wurst CLIENT_LOG_LEVEL=10
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Jeremy Allison <jra at samba.org>
    
    Autobuild-User(master): Jeremy Allison <jra at samba.org>
    Autobuild-Date(master): Wed Mar 31 21:20:23 UTC 2021 on sn-devel-184

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

Summary of changes:
 selftest/selftest.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/selftest/selftest.pl b/selftest/selftest.pl
index cfc5e438480..d0c025af6b3 100755
--- a/selftest/selftest.pl
+++ b/selftest/selftest.pl
@@ -528,6 +528,7 @@ sub write_clientconf($$$)
 	my $cacert = "$cadir/Public/CA-samba.example.com-cert.pem";
 	my $cacrl_pem = "$cadir/Public/CA-samba.example.com-crl.pem";
 	my $ca_users_dir = "$cadir/Users";
+	my $client_loglevel = $ENV{CLIENT_LOG_LEVEL} || 1;
 
 	# each user has a USER-${USER_PRINCIPAL_NAME}-cert.pem and
 	# USER-${USER_PRINCIPAL_NAME}-private-key.pem symlink
@@ -581,7 +582,7 @@ sub write_clientconf($$$)
 	system:anonymous = true
 	client lanman auth = Yes
 	client min protocol = CORE
-	log level = 1
+	log level = $client_loglevel
 	torture:basedir = $clientdir
 #We don't want to pass our self-tests if the PAC code is wrong
 	gensec:require_pac = true


-- 
Samba Shared Repository



More information about the samba-cvs mailing list