From: Jouni Malinen Date: Sat, 4 Jun 2016 21:24:47 +0000 (+0300) Subject: tests: Mesh and failure to derive random nonce X-Git-Tag: hostap_2_6~412 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=98628b7f07a9095ce93cf7115771f2277d31f5dd;p=mech_eap.git tests: Mesh and failure to derive random nonce Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_wpas_mesh.py b/tests/hwsim/test_wpas_mesh.py index 3318af9..3e49201 100644 --- a/tests/hwsim/test_wpas_mesh.py +++ b/tests/hwsim/test_wpas_mesh.py @@ -793,11 +793,21 @@ def test_mesh_wpa_init_fail(dev, apdev): dev[0].mesh_group_add(id) wait_fail_trigger(dev[0], "GET_FAIL") + dev[0].dump_monitor() with alloc_fail(dev[0], 1, "mesh_rsn_auth_init"): id = add_mesh_secure_net(dev[0]) dev[0].mesh_group_add(id) wait_fail_trigger(dev[0], "GET_ALLOC_FAIL") + dev[0].dump_monitor() + with fail_test(dev[0], 1, "os_get_random;mesh_rsn_init_ampe_sta"): + id = add_mesh_secure_net(dev[0]) + dev[0].mesh_group_add(id) + dev[1].request("SET sae_groups ") + id = add_mesh_secure_net(dev[1]) + dev[1].mesh_group_add(id) + wait_fail_trigger(dev[0], "GET_FAIL") + def test_wpas_mesh_reconnect(dev, apdev): """Secure mesh network plink counting during reconnection""" check_mesh_support(dev[0])