]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: sae_group in hostapd STA ctrl_iface command
authorJouni Malinen <j@w1.fi>
Tue, 27 Dec 2016 18:51:07 +0000 (20:51 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 28 Dec 2016 12:31:43 +0000 (14:31 +0200)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_sae.py

index 6d46b33e3765540134f0b28b57009e9cb120607c..c7d3169a01b50de4f2c62a4a5ebc1d939e197958 100644 (file)
@@ -40,6 +40,10 @@ def test_sae(dev, apdev):
     if "[WPA2-SAE-CCMP]" not in bss['flags']:
         raise Exception("Unexpected BSS flags: " + bss['flags'])
 
+    res = hapd.request("STA-FIRST")
+    if "sae_group=19" not in res.splitlines():
+        raise Exception("hostapd STA output did not specify SAE group")
+
 @remote_compatible
 def test_sae_password_ecc(dev, apdev):
     """SAE with number of different passwords (ECC)"""