From 8094a0077ab9ac9e6043a9d68feabbfaf52c2b06 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Wed, 2 Jul 2014 13:33:24 +0300 Subject: [PATCH] tests: Fix wpas_ctrl_country to match the fixed event data This test case for enforcing the incorrect init=DRIVER instead of init=CORE for the event due to bug in the event message. Signed-off-by: Jouni Malinen --- tests/hwsim/test_wpas_ctrl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_wpas_ctrl.py b/tests/hwsim/test_wpas_ctrl.py index 5c98009d0..5746693de 100644 --- a/tests/hwsim/test_wpas_ctrl.py +++ b/tests/hwsim/test_wpas_ctrl.py @@ -935,7 +935,7 @@ def test_wpas_ctrl_country(dev, apdev): ev = dev[0].wait_event(["CTRL-EVENT-REGDOM-CHANGE"]) if ev is None: raise Exception("regdom change event not seen") - if "init=DRIVER type=WORLD" not in ev: + if "init=CORE type=WORLD" not in ev: raise Exception("Unexpected event contents: " + ev) finally: subprocess.call(['sudo', 'iw', 'reg', 'set', '00'])