git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac6cf38
)
s3:torture: support SMB_CONF_PATH envvar in smbtorture
author
Stefan Metzmacher
<metze@samba.org>
Wed, 28 Jan 2009 09:50:55 +0000
(10:50 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 28 Jan 2009 09:59:17 +0000
(10:59 +0100)
metze
source3/torture/torture.c
patch
|
blob
|
history
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();