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

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

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')