diff options
author | Phil Sutter <phil@nwl.cc> | 2021-03-08 15:43:23 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2021-03-09 14:26:09 +0100 |
commit | 8993f000ee02f6c9ba46682c5ece53295a185fe7 (patch) | |
tree | 0fc3ddc88c20254f2c38093ad8a3e964c23d7fe8 /tests | |
parent | 6671d9d137f66c9a6044dec0206a3e989203d7b1 (diff) |
tests/py: Fix for missing JSON equivalent in any/ct.t.json
JSON equivalent for recently added test of the '!' shortcut was missing.
Fixes: e6c32b2fa0b82 ("src: add negation match on singleton bitmask value")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/py/any/ct.t.json | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/py/any/ct.t.json b/tests/py/any/ct.t.json index d429ae73..6684963b 100644 --- a/tests/py/any/ct.t.json +++ b/tests/py/any/ct.t.json @@ -387,6 +387,21 @@ } ] +# ct status ! dnat +[ + { + "match": { + "left": { + "ct": { + "key": "status" + } + }, + "op": "!", + "right": "dnat" + } + } +] + # ct mark 0 [ { |