git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3:torture: support SMB_CONF_PATH envvar in smbtorture
[metze/samba/wip.git]
/
source3
/
torture
/
torture.c
diff --git
a/source3/torture/torture.c
b/source3/torture/torture.c
index 8a1a61e79ac57b972a8a0d4edf33dbc4c9f52d96..85233bc0ae6b95c4cba30c1f003436a78e2115bb 100644
(file)
--- 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();