From: Jouni Malinen Date: Wed, 10 Dec 2014 23:29:33 +0000 (+0200) Subject: tests: INTERWORKING_CONNECT with invalid parameter X-Git-Tag: hostap_2_4~832 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e71fbc169440edc9c6b15cd818813a9c4cad66a;p=thirdparty%2Fhostap.git tests: INTERWORKING_CONNECT with invalid parameter Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_hs20.py b/tests/hwsim/test_ap_hs20.py index 335c1cd61..e3137e755 100644 --- a/tests/hwsim/test_ap_hs20.py +++ b/tests/hwsim/test_ap_hs20.py @@ -949,6 +949,11 @@ def test_ap_hs20_disallow_aps(dev, apdev): if "FAIL" not in ret: raise Exception("INTERWORKING_CONNECT to disallowed BSS not rejected") + if "FAIL" not in dev[0].request("INTERWORKING_CONNECT foo"): + raise Exception("Invalid INTERWORKING_CONNECT not rejected") + if "FAIL" not in dev[0].request("INTERWORKING_CONNECT 00:11:22:33:44:55"): + raise Exception("Invalid INTERWORKING_CONNECT not rejected") + def policy_test(dev, ap, values, only_one=True): dev.dump_monitor() if ap: