From: Jouni Malinen Date: Sun, 3 May 2015 14:15:45 +0000 (+0300) Subject: tests: IBSS RSN regression test for IBSS_RSN prior IBSS setup X-Git-Tag: hostap_2_5~763 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c53a3f29cd0a89266cd6ba49b190af875bf3416f;p=thirdparty%2Fhostap.git tests: IBSS RSN regression test for IBSS_RSN prior IBSS setup Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ibss.py b/tests/hwsim/test_ibss.py index 594850409..bb7d6aa62 100644 --- a/tests/hwsim/test_ibss.py +++ b/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")