From: Phil Sutter Date: Mon, 8 Mar 2021 14:43:23 +0000 (+0100) Subject: tests/py: Fix for missing JSON equivalent in any/ct.t.json X-Git-Tag: v0.9.9~101 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8993f000ee02f6c9ba46682c5ece53295a185fe7;p=thirdparty%2Fnftables.git 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 --- 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 [ {