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:
@ -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"))
|
||||
|
Reference in New Issue
Block a user