mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-03-03 06:00:43 +01:00

iwd.py was updated to use the TestContext APIs to start/stop IWD. This makes the process managment consistent between starting IWD from test-runner or from the IWD() constructor. The psk agent is now tracked, and destroyed upon __del__. This is to fix issues where a test throws an exception and never unregisters the agent, causing future tests to fail. The configuration directory was also chaged to /tmp by default. This was done since all tests which used this used /tmp anyways. The GLib mainloop was removed, and instead put into test-runner itself. Now any mainloop operations can use ctx.mainloop instead