]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: hostapd and RELOG
authorJouni Malinen <j@w1.fi>
Tue, 27 Dec 2016 18:48:11 +0000 (20:48 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 28 Dec 2016 12:31:43 +0000 (14:31 +0200)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_hapd_ctrl.py

index e4f5c98d1a32424c2786f564687288e3f39a8bcb..c3412cc4c3cb5159a78ef76df8b920f04c5c57c3 100644 (file)
@@ -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")