From 2acd2985c6bc4a6c3e518738e406215b424bb39c Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 3 Feb 2015 16:30:27 +0200 Subject: [PATCH] tests: P2P_PROV_DISC error case Signed-off-by: Jouni Malinen --- tests/hwsim/test_p2p_discovery.py | 2 ++ 1 file changed, 2 insertions(+) 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""" -- 2.47.2