3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 09:39:25 +01:00

test-runner: Make run

This commit is contained in:
Denis Kenzior 2021-07-14 16:58:13 -05:00
parent 790bb44785
commit 6fee25af9b

View File

@ -1254,9 +1254,9 @@ def pre_test(ctx, test, copied):
ctx.start_ofono() ctx.start_ofono()
if ctx.args.log: if ctx.args.log:
ctx.start_process(['iwmon']) ctx.start_process(['iwmon', '--nowiphy'])
elif ctx.args.monitor: elif ctx.args.monitor:
ctx.start_process(['iwmon'], outfile=ctx.args.monitor) ctx.start_process(['iwmon', '--nowiphy'], outfile=ctx.args.monitor)
if ctx.hw_config.has_option('SETUP', 'start_iwd'): if ctx.hw_config.has_option('SETUP', 'start_iwd'):
start = ctx.hw_config.getboolean('SETUP', 'start_iwd') start = ctx.hw_config.getboolean('SETUP', 'start_iwd')
@ -1734,7 +1734,7 @@ class Main:
rootflags=trans=virtio,msize=1048576,version=9p2000.u \ rootflags=trans=virtio,msize=1048576,version=9p2000.u \
acpi=off pci=noacpi %s ro \ acpi=off pci=noacpi %s ro \
mac80211_hwsim.radios=0 %s' % (kern_log, options), mac80211_hwsim.radios=0 %s' % (kern_log, options),
'-cpu', 'host', '-smp', str(smp) '-smp', str(smp)
] ]
# Add two ethernet devices for testing EAD # Add two ethernet devices for testing EAD