[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha6-181-gc2a2006

Stefan Metzmacher metze at samba.org
Wed Jan 28 10:00:23 GMT 2009


The branch, master has been updated
       via  c2a2006f8a8fdb8941158fc121ce551604cd1bae (commit)
      from  ac6cf387fff69581940988a65a660c744fa08e99 (commit)

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


- Log -----------------------------------------------------------------
commit c2a2006f8a8fdb8941158fc121ce551604cd1bae
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 28 10:50:55 2009 +0100

    s3:torture: support SMB_CONF_PATH envvar in smbtorture
    
    metze

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

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


Changeset truncated at 500 lines:

diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 8a1a61e..85233bc 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -5831,6 +5831,11 @@ static void usage(void)
 
 	load_case_tables();
 
+	if (is_default_dyn_CONFIGFILE()) {
+		if(getenv("SMB_CONF_PATH")) {
+			set_dyn_CONFIGFILE(getenv("SMB_CONF_PATH"));
+		}
+	}
 	lp_load(get_dyn_CONFIGFILE(),True,False,False,True);
 	load_interfaces();
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list