]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Chargeable-User-Idnetity in Accounting-Request
authorJouni Malinen <j@w1.fi>
Sat, 29 Mar 2014 14:16:24 +0000 (16:16 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 29 Mar 2014 14:16:24 +0000 (16:16 +0200)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_radius.py

index 7d2a2f0469043e08e18e3dd8d0e3c19f071341ba..a03aebb2a69100dfeea8dedec156aa89657b267d 100644 (file)
@@ -71,11 +71,15 @@ def test_radius_acct(dev, apdev):
     dev[1].connect("radius-acct", key_mgmt="WPA-EAP", scan_freq="2412",
                    eap="PAX", identity="test-class",
                    password_hex="0123456789abcdef0123456789abcdef")
+    dev[2].connect("radius-acct", key_mgmt="WPA-EAP",
+                   eap="GPSK", identity="gpsk-cui",
+                   password="abcdefghijklmnop0123456789abcdef",
+                   scan_freq="2412")
     logger.info("Checking for RADIUS counters")
     count = 0
     while True:
         mib = hapd.get_mib()
-        if int(mib['radiusAccClientResponses']) >= 2:
+        if int(mib['radiusAccClientResponses']) >= 3:
             break
         time.sleep(0.1)
         count += 1