aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2016-06-04 21:24:47 (GMT)
committerJouni Malinen <j@w1.fi>2016-06-04 21:24:47 (GMT)
commit98628b7f07a9095ce93cf7115771f2277d31f5dd (patch)
treec2e842e54a8625fa890f3a6956a9b9d66641149d /tests
parent044d739bdd50521c516511e9234b5f8cb0a6d6e9 (diff)
downloadhostap-98628b7f07a9095ce93cf7115771f2277d31f5dd.zip
hostap-98628b7f07a9095ce93cf7115771f2277d31f5dd.tar.gz
hostap-98628b7f07a9095ce93cf7115771f2277d31f5dd.tar.bz2
tests: Mesh and failure to derive random nonce
Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'tests')
-rw-r--r--tests/hwsim/test_wpas_mesh.py10
1 files changed, 10 insertions, 0 deletions
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])