From 4128f53d8be1daa1fe47dea1d2348fd50c321476 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 1 Nov 2015 00:28:35 +0200 Subject: [PATCH] tests: Additional wpa_supplicant SET ctrl_iface command coverage Signed-off-by: Jouni Malinen --- tests/hwsim/test_wpas_ctrl.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/hwsim/test_wpas_ctrl.py b/tests/hwsim/test_wpas_ctrl.py index 1c8b44562..6a83a8581 100644 --- a/tests/hwsim/test_wpas_ctrl.py +++ b/tests/hwsim/test_wpas_ctrl.py @@ -843,7 +843,9 @@ def test_wpas_ctrl_set(dev): "dot11RSNAConfigPMKReauthThreshold 101", "dot11RSNAConfigSATimeout 0", "wps_version_number -1", - "wps_version_number 256" ] + "wps_version_number 256", + "fst_group_id ", + "fst_llt 0"] for val in vals: if "FAIL" not in dev[0].request("SET " + val): raise Exception("Unexpected SET success for " + val) @@ -862,6 +864,11 @@ def test_wpas_ctrl_set(dev): if "OK" not in dev[0].request("SET " + val): raise Exception("Unexpected SET failure for " + val) + # This fails if wpa_supplicant is built with loadable EAP peer method + # support due to missing file and succeeds if no support for loadable + # methods is included, so don't check the return value for now. + dev[0].request("SET load_dynamic_eap /tmp/hwsim-eap-not-found.so") + def test_wpas_ctrl_get_capability(dev): """wpa_supplicant ctrl_iface GET_CAPABILITY""" if "FAIL" not in dev[0].request("GET_CAPABILITY 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"):