test-runner: allow IWD to start with no radios

This is useful for testing hotplug scenarios
This commit is contained in:
James Prestwood 2022-02-10 13:29:28 -08:00 committed by Denis Kenzior
parent 32465396eb
commit 86cfa25910
1 changed files with 4 additions and 1 deletions

View File

@ -676,7 +676,10 @@ class Namespace:
'--show-leak-kinds=all',
'--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]):
args.append('-d')