Browse Source

tests: sae_group in hostapd STA ctrl_iface command

Signed-off-by: Jouni Malinen <j@w1.fi>
Jouni Malinen 8 years ago
parent
commit
7b28c40892
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tests/hwsim/test_sae.py

+ 4 - 0
tests/hwsim/test_sae.py

@@ -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)"""