3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 04:32:37 +01:00

auto-t: set CONFIGURATION_DIRECTORY

The --config option was removed, so any tests which start IWD from
python need to set this option if they need a special configuration
directory.
This commit is contained in:
James Prestwood 2019-09-09 10:21:52 -07:00 committed by Denis Kenzior
parent 2b27ec26a0
commit 50c947b53c

View File

@ -858,9 +858,9 @@ class IWD(AsyncOpAbstract):
args.append('--leak-check=full')
args.append('--log-file=/tmp/valgrind.log')
os.environ["CONFIGURATION_DIRECTORY"] = iwd_config_dir;
args.append('iwd')
args.append('-c')
args.append(iwd_config_dir)
args.append('-p')
args.append(whitelist)
args.append('-d')
@ -900,6 +900,8 @@ class IWD(AsyncOpAbstract):
self._iwd_proc = None
del os.environ["CONFIGURATION_DIRECTORY"]
@property
def _object_manager(self):
if self._object_manager_if is None: