From: Jouni Malinen Date: Tue, 3 Feb 2015 14:30:27 +0000 (+0200) Subject: tests: P2P_PROV_DISC error case X-Git-Tag: hostap_2_4~212 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2acd2985c6bc4a6c3e518738e406215b424bb39c;p=thirdparty%2Fhostap.git tests: P2P_PROV_DISC error case Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_p2p_discovery.py b/tests/hwsim/test_p2p_discovery.py index 9b97d39f6..29132674b 100644 --- a/tests/hwsim/test_p2p_discovery.py +++ b/tests/hwsim/test_p2p_discovery.py @@ -86,6 +86,8 @@ def test_discovery(dev): raise Exception("Invalid P2P_PROV_DISC accepted") if "FAIL" not in dev[0].global_request("P2P_PROV_DISC 00:11:22:33:44:55 pbc join"): raise Exception("Invalid P2P_PROV_DISC accepted") + if "FAIL" not in dev[0].global_request("P2P_PROV_DISC 00:11:22:33:44:55 foo"): + raise Exception("Invalid P2P_PROV_DISC accepted") def test_discovery_pd_retries(dev): """P2P device discovery and provision discovery retries"""