mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22: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:
parent
2b27ec26a0
commit
50c947b53c
@ -858,9 +858,9 @@ class IWD(AsyncOpAbstract):
|
|||||||
args.append('--leak-check=full')
|
args.append('--leak-check=full')
|
||||||
args.append('--log-file=/tmp/valgrind.log')
|
args.append('--log-file=/tmp/valgrind.log')
|
||||||
|
|
||||||
|
os.environ["CONFIGURATION_DIRECTORY"] = iwd_config_dir;
|
||||||
|
|
||||||
args.append('iwd')
|
args.append('iwd')
|
||||||
args.append('-c')
|
|
||||||
args.append(iwd_config_dir)
|
|
||||||
args.append('-p')
|
args.append('-p')
|
||||||
args.append(whitelist)
|
args.append(whitelist)
|
||||||
args.append('-d')
|
args.append('-d')
|
||||||
@ -900,6 +900,8 @@ class IWD(AsyncOpAbstract):
|
|||||||
|
|
||||||
self._iwd_proc = None
|
self._iwd_proc = None
|
||||||
|
|
||||||
|
del os.environ["CONFIGURATION_DIRECTORY"]
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def _object_manager(self):
|
def _object_manager(self):
|
||||||
if self._object_manager_if is None:
|
if self._object_manager_if is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user