Browse Source

tests: ERP with EAP-IKEv2

Signed-off-by: Jouni Malinen <j@w1.fi>
Jouni Malinen 10 years ago
parent
commit
f41f670ea5
2 changed files with 3 additions and 0 deletions
  1. 1 0
      tests/hwsim/auth_serv/eap_user.conf
  2. 2 0
      tests/hwsim/test_erp.py

+ 1 - 0
tests/hwsim/auth_serv/eap_user.conf

@@ -23,6 +23,7 @@
 "erp-tls@example.com"	TLS
 "erp-ttls@example.com"	TTLS
 "erp-ttls@example.com"	TTLS-PAP	"password"	[2]
+"erp-ikev2@example.com"	IKEV2	"password"
 
 "vlan1"	PAX	0123456789abcdef0123456789abcdef
 radius_accept_attr=64:d:13

+ 2 - 0
tests/hwsim/test_erp.py

@@ -194,6 +194,8 @@ def test_erp_radius_eap_methods(dev, apdev):
              phase1="fast_provisioning=2", pac_file="blob://fast_pac_auth_erp")
     erp_test(dev[0], hapd, eap="GPSK", identity="erp-gpsk@example.com",
              password="abcdefghijklmnop0123456789abcdef")
+    erp_test(dev[0], hapd, eap="IKEV2", identity="erp-ikev2@example.com",
+             password="password")
     erp_test(dev[0], hapd, eap="PAX", identity="erp-pax@example.com",
              password_hex="0123456789abcdef0123456789abcdef")
     # TODO: PEAP (EMSK)