mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 09:39:25 +01:00
test-runner: Add flags for DHCP and TLS verbose output
Add "iwd-tls" and "iwd-dhcp" flags for -v. These should automatically enable "-v iwd" output because of the substring matching.
This commit is contained in:
parent
15c04bb395
commit
b321db20ad
@ -573,6 +573,12 @@ class TestContext:
|
||||
env['CONFIGURATION_DIRECTORY'] = config_dir
|
||||
env['STATE_DIRECTORY'] = '/var/lib/iwd'
|
||||
|
||||
if self.is_verbose('iwd-dhcp'):
|
||||
env['IWD_DHCP_DEBUG'] = '1'
|
||||
|
||||
if self.is_verbose('iwd-tls'):
|
||||
env['IWD_TLS_DEBUG'] = '1'
|
||||
|
||||
pid = self.start_process(args, env=env)
|
||||
return pid
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user