3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00
iwd/autotests/util
James Prestwood 35f06ef87a auto-t: hostapd: allow CLI to lookup by config file
There is a common interface lookup in many tests in order to initialize
the HostapdCLI object e.g.:

for intf in hostapd_map.values():
    if intf.config == 'ssidOWE.conf':
        hapd = HostapdCLI(intf)
        break

Instead of having to do this in every test, HostapdCLI will now
optionally take a config file (config=<file>). The interface object
will still be prefered (i.e. supplying an interface will not even
check the config file) as to not break existing tests. But if only
a config file is supplied the lookup is done internally.

There are some tests that do still need the interface, as they do
an interface lookup to initialize both hostapd and hwsim at the
same time.
2019-06-05 16:18:26 -05:00
..
hlrauc.py autotest: fix possible hlrauc race condition 2018-01-18 14:43:53 -06:00
hostapd.py auto-t: hostapd: allow CLI to lookup by config file 2019-06-05 16:18:26 -05:00
hwsim.py auto-t: removed ';' from many autotests 2018-12-14 13:46:23 -06:00
iwd.py auto-t: handle exceptions correctly for start_ap 2019-05-13 16:38:23 -05:00
ofono.py autotest: Added ofono.py utility 2017-12-14 17:47:29 -06:00
testutil.py auto-t: testutil: allow skipping of group traffic test 2019-06-05 16:18:26 -05:00
wiphy.py autotests: Update the wiphy_map and hostapd_map structs 2019-04-22 16:34:17 -05:00