tests: EAP-TTLS with unsupported Phase 2 EAP method in configuration
authorJouni Malinen <j@w1.fi>
Sun, 20 Dec 2015 15:33:03 +0000 (17:33 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 20 Dec 2015 15:33:03 +0000 (17:33 +0200)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ap_eap.py

index 961b2ee..4b0134d 100644 (file)
@@ -945,7 +945,8 @@ def test_ap_wpa2_eap_ttls_invalid_phase2(dev, apdev):
     params = hostapd.wpa2_eap_params(ssid="test-wpa2-eap")
     hostapd.add_ap(apdev[0]['ifname'], params)
     tests = [ "auth=MSCHAPv2", "auth=MSCHAPV2 autheap=MD5",
-              "autheap=MD5 auth=MSCHAPV2", "auth=PAP auth=CHAP" ]
+              "autheap=MD5 auth=MSCHAPV2", "auth=PAP auth=CHAP",
+              "autheap=MD5 autheap=FOO autheap=MSCHAPV2" ]
     for t in tests:
         dev[0].connect("test-wpa2-eap", key_mgmt="WPA-EAP", eap="TTLS",
                        identity="DOMAIN\mschapv2 user",