eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 5a426433dd6aec79187c815e0cc1e3154e08cfbf
parent 84d018e722a6374c5c6437713e93407270a29c4f
Author: James Prestwood <prestwoj@gmail.com>
Date:   Wed,  6 Dec 2023 12:17:50 -0800

auto-t: add explicit stop() to IWD class

If tests end in an unknown state it is sometimes required that IWD
be stopped manually in order for future tests to run. Add a stop()
method so test tearDown() methods can explicitly stop IWD.

Diffstat:
Mautotests/util/iwd.py | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/autotests/util/iwd.py b/autotests/util/iwd.py @@ -1363,6 +1363,10 @@ class IWD(AsyncOpAbstract): self.psk_agents = [] + def stop(self): + if self.namespace.is_process_running('iwd'): + self._iwd_proc.kill() + def __del__(self): for agent in self.psk_agents: self.unregister_psk_agent(agent)