From: Jouni Malinen Date: Tue, 27 Dec 2016 18:48:11 +0000 (+0200) Subject: tests: hostapd and RELOG X-Git-Tag: hostap_2_7~1902 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=603b09b950aa2ac59505f2a5c63586e16b749e37;p=thirdparty%2Fhostap.git tests: hostapd and RELOG Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_hapd_ctrl.py b/tests/hwsim/test_hapd_ctrl.py index e4f5c98d1..c3412cc4c 100644 --- a/tests/hwsim/test_hapd_ctrl.py +++ b/tests/hwsim/test_hapd_ctrl.py @@ -834,3 +834,11 @@ def test_hapd_ctrl_eapol_reauth_errors(dev, apdev): for t in tests: if "FAIL" not in hapd.request("EAPOL_REAUTH " + t): raise Exception("Invalid EAPOL_REAUTH command accepted: " + t) + +def test_hapd_ctrl_eapol_relog(dev, apdev): + """hostapd and RELOG""" + ssid = "hapd-ctrl" + params = { "ssid": ssid } + hapd = hostapd.add_ap(apdev[0], params) + if "OK" not in hapd.request("RELOG"): + raise Exception("RELOG failed")