Message ID | 20210308144546.15311-1-phil@nwl.cc |
---|---|
State | Accepted |
Delegated to: | Pablo Neira |
Headers | show |
Series | [nft] tests/py: Fix for missing JSON equivalent in any/ct.t.json | expand |
diff --git a/tests/py/any/ct.t.json b/tests/py/any/ct.t.json index d429ae73ea5cc..6684963b6609c 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 [ {
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> --- tests/py/any/ct.t.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+)