]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
test: Mesh PMKSA entry validation with MESH_PMKSA_ADD
authorJouni Malinen <j@w1.fi>
Sat, 2 Dec 2023 18:32:56 +0000 (20:32 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 2 Dec 2023 18:32:56 +0000 (20:32 +0200)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_wpas_mesh.py

index 756543784ee06ecd305c6dfc81e56476fff3e519..27397fbfb9790123cb9b195c4e0842f211dc8461 100644 (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")