1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-28 11:42:03 +03:00

s4-test: Use smb.conf path set in environment rather than using

command-line options.

This is the first step towards supporting custom test runners.
This commit is contained in:
Jelmer Vernooij
2010-06-13 16:38:24 +02:00
parent 46037a8160
commit 51058213cb
9 changed files with 47 additions and 43 deletions

View File

@ -32,7 +32,7 @@ def checkset_backend(lp, backend, eadbfile):
if backend == "native":
lp.set("posix:eadb", "")
elif backend == "tdb":
if eadbfile != None:
if eadbfile is not None:
lp.set("posix:eadb", eadbfile)
else:
os.path.abspath(os.path.join(lp.get("private dir"), "eadb.tdb"))