From 98628b7f07a9095ce93cf7115771f2277d31f5dd Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 5 Jun 2016 00:24:47 +0300 Subject: [PATCH] tests: Mesh and failure to derive random nonce Signed-off-by: Jouni Malinen --- tests/hwsim/test_wpas_mesh.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/hwsim/test_wpas_mesh.py b/tests/hwsim/test_wpas_mesh.py index 3318af92c..3e4920134 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])