aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2017-01-08 15:20:02 (GMT)
committerJouni Malinen <j@w1.fi>2017-01-08 15:20:02 (GMT)
commit765c15d5037a3d92644da1e322e26ce9a7786695 (patch)
treeb3359631d27229beacf9954152d6d3f2b7d67410 /tests
parentf241a2604a85c9ea42404276065c733a07ae9beb (diff)
downloadhostap-765c15d5037a3d92644da1e322e26ce9a7786695.zip
hostap-765c15d5037a3d92644da1e322e26ce9a7786695.tar.gz
hostap-765c15d5037a3d92644da1e322e26ce9a7786695.tar.bz2
tests: Invalid WMM_AC_ADDTS parameter
Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'tests')
-rw-r--r--tests/hwsim/test_wpas_wmm_ac.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/hwsim/test_wpas_wmm_ac.py b/tests/hwsim/test_wpas_wmm_ac.py
index 38ed9c5..d34a0ce 100644
--- a/tests/hwsim/test_wpas_wmm_ac.py
+++ b/tests/hwsim/test_wpas_wmm_ac.py
@@ -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