test: Mesh PMKSA entry validation with MESH_PMKSA_ADD

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2023-12-02 20:32:56 +02:00
parent 4f69b4a31e
commit b07f19e082

View file

@ -1729,6 +1729,10 @@ def test_wpas_mesh_pmksa_caching_ext(dev, apdev):
if pmksa1['pmkid'] != pmksa1b['pmkid']:
raise Exception("PMKID mismatch in PMKSA cache entries after external storage restore")
res3 = dev[1].request("MESH_PMKSA_GET " + addr0)
if res2 != res3:
raise Exception("Unexpected change in MESH_PMKSA_GET result")
hwsim_utils.test_connectivity(dev[0], dev[1])
res = dev[1].request("MESH_PMKSA_GET foo")