Browse Source

tests: IBSS RSN regression test for IBSS_RSN prior IBSS setup

Signed-off-by: Jouni Malinen <j@w1.fi>
Jouni Malinen 10 years ago
parent
commit
c53a3f29cd
1 changed files with 5 additions and 0 deletions
  1. 5 0
      tests/hwsim/test_ibss.py

+ 5 - 0
tests/hwsim/test_ibss.py

@@ -344,3 +344,8 @@ def test_ibss_wep(dev):
     id = add_ibss(dev[1], ssid, key_mgmt="NONE", wep_key0='"hello"')
     connect_ibss_cmd(dev[1], id)
     bssid1 = wait_ibss_connection(dev[1])
+
+def test_ibss_rsn_error_case(dev):
+    """IBSS RSN regression test for IBSS_RSN prior IBSS setup"""
+    if "FAIL" not in dev[0].request("IBSS_RSN 02:03:04:05:06:07"):
+        raise Exception("Unexpected IBSS_RSN result")