]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: IBSS RSN regression test for IBSS_RSN prior IBSS setup
authorJouni Malinen <j@w1.fi>
Sun, 3 May 2015 14:15:45 +0000 (17:15 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 3 May 2015 14:15:45 +0000 (17:15 +0300)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ibss.py

index 5948504099e2cc14cae47aa1411b641907f39b76..bb7d6aa62927c097c1f8947cd0bc13b13ff809a7 100644 (file)
@@ -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")