3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 02:19:26 +01:00
iwd/autotests/util
James Prestwood 5e631b4e38 auto-t: fix wait_for_object_condition
After the re-write this was broken and not noticed until
recently. The issue appeared to be that the GLib timeout
callback retained no context of local variables. Previously
_wait_timed_out was set as a class variable, but this was
removed so multiple IWD instances could work. Without
_wait_timed_out being a class variable the GLib timeout
setting it had no effect on the wait loop.

To fix this we can set _wait_timed_out on the object being
passed in. This is preserved in the GLib timeout callback
and setting it gets honored in the wait loop.
2021-01-25 13:10:52 -06:00
..
config.py auto-t: introduce pure python test-runner re-write 2020-09-10 17:59:49 -05:00
ead.py auto-t: update utilities to use namespaces 2020-11-18 11:01:11 -06:00
hlrauc.py autotest: fix possible hlrauc race condition 2018-01-18 14:43:53 -06:00
hostapd.py auto-t: update hostapd.list_sta to use Process.out 2020-11-16 17:05:45 -06:00
hwsim.py auto-t: add iftype/cipher disable to hwsim.py 2020-12-17 20:13:41 -06:00
iwd.py auto-t: fix wait_for_object_condition 2021-01-25 13:10:52 -06:00
ofono.py auto-t: update utilities to use namespaces 2020-11-18 11:01:11 -06:00
testutil.py auto-t: support IP match with no IP set 2020-12-08 15:15:42 -06:00
wpas.py autotests: Add basic wpa_supplicant P2P python wrapper 2020-10-19 17:20:21 -05:00