3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00
iwd/autotests/util
James Prestwood 267feb94b0 auto-t: fix rekey/reauth logic in a few ways
The rekey/reauth logic was broken in a few different ways.

For rekeys the event list was not being reset so any past 4-way
handshake would allow the call to pass. This actually removes
the need for the sleep in the extended key ID test because the
actual handshake event is waited for correctly.

For both rekeys and reauths, just waiting for the EAP/handshake
events was not enough. Without checking if the client got
disconnected we essentially allow a full disconnect and reconnect,
meaning the rekey/reauth failed.

Now a 'disallow' array can be passed to wait_for_event which will
throw an exception if any events in that array are encountered
while waiting for the target event.
2022-06-24 18:11:33 -05:00
..
config.py auto-t: introduce pure python test-runner re-write 2020-09-10 17:59:49 -05:00
ead.py auto-t: correctly import Mapping from collections 2022-06-01 11:01:50 -05:00
hlrauc.py auto-t: hlrauc.py: remove unix socket on cleanup 2021-02-26 10:07:17 -06:00
hostapd.py auto-t: fix rekey/reauth logic in a few ways 2022-06-24 18:11:33 -05:00
hwsim.py auto-t: correctly import Mapping from collections 2022-06-01 11:01:50 -05:00
iwd.py test-runner: fix UML blocking on wait_for_socket/service 2022-06-24 18:11:10 -05:00
ofono.py auto-t: ofono.py: use non_block_wait 2021-08-13 11:16:19 -05:00
testutil.py auto-t: In testNetconfig verify routes created 2022-06-22 15:57:22 -05:00
wpas.py auto-t: allow skipping tests is wpa_supplicant is not found 2022-06-02 16:47:02 -05:00