From: Jouni Malinen Date: Sun, 28 Feb 2021 18:28:36 +0000 (+0200) Subject: tests: Additional coverage for WPS_AP_PIN error case X-Git-Tag: hostap_2_10~501 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8e2d9ff6b1cb42a393007ee4badce28165fb34f;p=thirdparty%2Fhostap.git tests: Additional coverage for WPS_AP_PIN error case Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_wps.py b/tests/hwsim/test_ap_wps.py index 0ecf2961f..7df8f985f 100644 --- a/tests/hwsim/test_ap_wps.py +++ b/tests/hwsim/test_ap_wps.py @@ -726,6 +726,8 @@ def test_ap_wps_random_ap_pin(dev, apdev): raise Exception("Invalid WPS_AP_PIN accepted") if "FAIL" not in hapd.request("WPS_AP_PIN foo"): raise Exception("Invalid WPS_AP_PIN accepted") + if "FAIL" not in hapd.request("WPS_AP_PIN set " + 9*'1'): + raise Exception("Invalid WPS_AP_PIN accepted") def test_ap_wps_reg_config(dev, apdev): """WPS registrar configuring an AP using AP PIN"""