tests: WPS_CHECK_PIN with invalid PIN length

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2014-04-06 16:33:23 +03:00
parent 861671b6ca
commit df58939cec

View File

@ -1138,6 +1138,7 @@ def test_ap_wps_check_pin(dev, apdev):
hapd = hostapd.Hostapd(apdev[0]['ifname']) hapd = hostapd.Hostapd(apdev[0]['ifname'])
for t in [ ("12345670", "12345670"), for t in [ ("12345670", "12345670"),
("12345678", "FAIL-CHECKSUM"), ("12345678", "FAIL-CHECKSUM"),
("12345", "FAIL"),
("1234-5670", "12345670"), ("1234-5670", "12345670"),
("1234 5670", "12345670"), ("1234 5670", "12345670"),
("1-2.3:4 5670", "12345670") ]: ("1-2.3:4 5670", "12345670") ]: