3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-09 13:39:23 +01:00
iwd/autotests/testAgent
James Prestwood 5b58390b8d auto-t: fix unpredictability/pointless test from testAgent
testAgent had a few tests which weren't reliable, and one was not
actually testing anything, or at least not what the name implied it
should be testing.

The first issue was using iwctl in the first place. There is not a
reliable way to know when iwctl has registered its agent so relying on
that with a sleep, or waiting for the service to become available isn't
100% fool proof. To fix this use the updated PSKAgent which allows
multiple to be registered. This ensures the agent is ready for requests.
This test was also renamed to be consistent with what its actually
testing: that IWD uses the first agent registered.

This removes test_connection_with_other_agent as well because this test
case is covered by the client test itself. There is no need to re-test
iwctl's agent functionality here.
2022-06-29 13:18:29 -05:00
..
agent_test.py auto-t: fix unpredictability/pointless test from testAgent 2022-06-29 13:18:29 -05:00
hw.conf auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
ssid1.conf auto-t: Test Agent ops 2020-05-13 05:50:45 -05:00
ssid2.conf auto-t: Test Agent ops 2020-05-13 05:50:45 -05:00