eiwd

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

commit 36bc4e15c30c3cd3f5ec950c5b31cc47cb6c1318
parent 1b4c6e9be83b8eb4c0d824abedc638abd7f44152
Author: James Prestwood <prestwoj@gmail.com>
Date:   Thu, 29 Jul 2021 15:21:47 -0700

auto-t: hostapd: catch local socket remove exception

This happens if hostapd is killed ungracefully which is done in
some tests.

Diffstat:
Mautotests/util/hostapd.py | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/autotests/util/hostapd.py b/autotests/util/hostapd.py @@ -118,7 +118,11 @@ class HostapdCLI: return self.ctrl_sock.close() - os.remove(self.local_ctrl) + + try: + os.remove(self.local_ctrl) + except: + pass if self._hostapd_restarted: ctx.stop_process(ctx.hostapd.process, force)