eiwd

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

commit cdc9eb13aafc89eea709096ad65c7f5413846d07
parent 6fea4e6f4f6f01daf890eea75ddbe1f855f1257a
Author: James Prestwood <prestwoj@gmail.com>
Date:   Tue, 22 Oct 2019 09:14:00 -0700

auto-t: hostapd: raise exception upon invalid config

If the config file passed in is not found we would continue and
eventually something else would fail. Instead immediately raise an
exception to be more clear on what is actually failing.

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

diff --git a/autotests/util/hostapd.py b/autotests/util/hostapd.py @@ -37,6 +37,9 @@ class HostapdCLI: interface = intf break + if not interface: + raise Exception('config %s not found' % config) + self.ifname = interface.name self.socket_path = os.path.dirname(interface.ctrl_interface)