mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
test-runner: start iwmon first
This aids in debugging if iwd/hostapd/etc fail to start correctly.
This commit is contained in:
parent
3348f20696
commit
69a5ccbe5c
@ -1327,6 +1327,11 @@ def pre_test(ctx, test, copied):
|
||||
|
||||
subtests = pruned
|
||||
|
||||
if ctx.args.log:
|
||||
ctx.start_process(['iwmon', '--nowiphy'])
|
||||
elif ctx.args.monitor:
|
||||
ctx.start_process(['iwmon'], outfile=ctx.args.monitor)
|
||||
|
||||
ctx.start_dbus()
|
||||
ctx.start_haveged()
|
||||
ctx.start_dbus_monitor()
|
||||
@ -1336,11 +1341,6 @@ def pre_test(ctx, test, copied):
|
||||
ctx.start_wpas_interfaces()
|
||||
ctx.start_ofono()
|
||||
|
||||
if ctx.args.log:
|
||||
ctx.start_process(['iwmon', '--nowiphy'])
|
||||
elif ctx.args.monitor:
|
||||
ctx.start_process(['iwmon', '--nowiphy'], outfile=ctx.args.monitor)
|
||||
|
||||
if ctx.hw_config.has_option('SETUP', 'start_iwd'):
|
||||
start = ctx.hw_config.getboolean('SETUP', 'start_iwd')
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user