From: Benjamin Berg Date: Thu, 30 Oct 2025 08:24:45 +0000 (+0100) Subject: tests: Issue TEST-START NOTE to extra wpa_suplicant instances X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbdf02ac5164b8cb3d11fac491e9e0c7fdaa4300;p=thirdparty%2Fhostap.git tests: Issue TEST-START NOTE to extra wpa_suplicant instances The wlan5 and wlan6 instances are separate as they only have interfaces in some tests. Also issue TEST-START notes for them. Signed-off-by: Benjamin Berg --- diff --git a/tests/hwsim/run-tests.py b/tests/hwsim/run-tests.py index 06c76be05..bb6fbf520 100755 --- a/tests/hwsim/run-tests.py +++ b/tests/hwsim/run-tests.py @@ -573,6 +573,15 @@ def main(): if args.stdin_ctrl: set_term_echo(sys.stdin.fileno(), True) sys.exit(1) + for ifname in ['/tmp/wpas-wlan5']: + wpas = None + try: + wpas = WpaSupplicant(global_iface=ifname, monitor=False) + wpas.global_request("NOTE TEST-START " + name) + del wpas + except: + logger.exception("Failed to issue TEST-START before " + name + " for " + ifname) + print("FAIL " + name + " - could not start test") try: hapd = HostapdGlobal() hapd.request("NOTE TEST-START " + name)