From 765c15d5037a3d92644da1e322e26ce9a7786695 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 8 Jan 2017 17:20:02 +0200 Subject: [PATCH] tests: Invalid WMM_AC_ADDTS parameter Signed-off-by: Jouni Malinen --- tests/hwsim/test_wpas_wmm_ac.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/hwsim/test_wpas_wmm_ac.py b/tests/hwsim/test_wpas_wmm_ac.py index 38ed9c527..d34a0ce08 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