aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2022-04-06 18:37:23 +0100
committerJoão Valverde <j@v6e.pt>2022-04-06 18:37:23 +0100
commitc30a41752887574370e3f6a00bfb8c3a4da071e9 (patch)
treeb0256d2a1e228a03f01c3715629f9641015b595d /test
parent5584aba326389c622ca6c8e775c357f69a87ef67 (diff)
dflter: Add test
Diffstat (limited to 'test')
-rw-r--r--test/suite_dfilter/group_syntax.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/suite_dfilter/group_syntax.py b/test/suite_dfilter/group_syntax.py
index 9629f2bc85..a9c699c7c5 100644
--- a/test/suite_dfilter/group_syntax.py
+++ b/test/suite_dfilter/group_syntax.py
@@ -15,6 +15,11 @@ class case_syntax(unittest.TestCase):
dfilter = "frame"
checkDFilterCount(dfilter, 1)
+ def test_exists_2(self, checkDFilterCount):
+ # Identifier using minus
+ dfilter = "mac-lte"
+ checkDFilterCount(dfilter, 0)
+
def test_commute_1(self, checkDFilterCount):
dfilter = "ip.proto == 6"
checkDFilterCount(dfilter, 1)