Parcourir la source

tests: Invalid MAC address with BLACKLIST

Signed-off-by: Jouni Malinen <j@w1.fi>
Jouni Malinen il y a 11 ans
Parent
commit
5f0e59329b
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      tests/hwsim/test_wpas_ctrl.py

+ 2 - 0
tests/hwsim/test_wpas_ctrl.py

@@ -395,6 +395,8 @@ def test_wpas_ctrl_addr(dev):
         raise Exception("Unexpected success on invalid WPS_REG")
     if "FAIL" not in dev[0].request("IBSS_RSN 00:11:22:33:44"):
         raise Exception("Unexpected success on invalid IBSS_RSN")
+    if "FAIL" not in dev[0].request("BLACKLIST 00:11:22:33:44"):
+        raise Exception("Unexpected success on invalid BLACKLIST")
 
 def test_wpas_ctrl_wps_errors(dev):
     """wpa_supplicant ctrl_iface WPS error cases"""