diff options
author | Balazs Scheidler <bazsi77@gmail.com> | 2020-08-29 09:04:04 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-08-29 13:16:57 +0200 |
commit | f554a7eaa1d45c1cb430def51d8b4b288000eec0 (patch) | |
tree | 11d7511fc546d33f055e34629bf29370bf5fd913 /tests/py/inet/socket.t.json | |
parent | de8d3f35148899343a7e75dce5bbdaeceaf765ab (diff) |
tests: added "socket wildcard" testcases
Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/inet/socket.t.json')
-rw-r--r-- | tests/py/inet/socket.t.json | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/py/inet/socket.t.json b/tests/py/inet/socket.t.json index 99d6e248..fa48e79d 100644 --- a/tests/py/inet/socket.t.json +++ b/tests/py/inet/socket.t.json @@ -43,3 +43,32 @@ } ] +# socket wildcard 0 +[ + { + "match": { + "left": { + "socket": { + "key": "wildcard" + } + }, + "op": "==", + "right": 0 + } + } +] + +# socket wildcard 1 +[ + { + "match": { + "left": { + "socket": { + "key": "wildcard" + } + }, + "op": "==", + "right": 1 + } + } +] |