test-runner: allow IWD to start with no radios
This is useful for testing hotplug scenarios
This commit is contained in:
parent
32465396eb
commit
86cfa25910
|
@ -676,7 +676,10 @@ class Namespace:
|
||||||
'--show-leak-kinds=all',
|
'--show-leak-kinds=all',
|
||||||
'--log-file=/tmp/valgrind.log.%p'])
|
'--log-file=/tmp/valgrind.log.%p'])
|
||||||
|
|
||||||
args.extend(['iwd', '-p', iwd_radios, '-E'])
|
args.extend(['iwd', '-E'])
|
||||||
|
|
||||||
|
if iwd_radios != '':
|
||||||
|
args.extend(['-p', iwd_radios])
|
||||||
|
|
||||||
if self.is_verbose(args[0]):
|
if self.is_verbose(args[0]):
|
||||||
args.append('-d')
|
args.append('-d')
|
||||||
|
|
Loading…
Reference in New Issue