]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Invalid WMM_AC_ADDTS parameter
authorJouni Malinen <j@w1.fi>
Sun, 8 Jan 2017 15:20:02 +0000 (17:20 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 8 Jan 2017 15:20:02 +0000 (17:20 +0200)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_wpas_wmm_ac.py

index 38ed9c527cb0bbdfb28a140ab7fe4fe26caca2d1..d34a0ce08e6925c01a45b127ade44d23f74ebdf4 100644 (file)
@@ -110,6 +110,10 @@ def test_tspec(dev, apdev):
         if not str(e).startswith("DELTS failed"):
             raise
 
+    # "CTRL: Invalid WMM_AC_ADDTS parameter: 'foo'
+    if "FAIL" not in dev[0].request("WMM_AC_ADDTS foo"):
+        raise Exception("Invalid WMM_AC_ADDTS command accepted")
+
 def test_tspec_protocol(dev, apdev):
     """Protocol tests for addts/delts"""
     # configure ap with VO and VI requiring admission-control