* [nft PATCH] tests/py: Fix for missing JSON equivalent in any/ct.t.json
@ 2021-03-08 14:45 Phil Sutter
0 siblings, 0 replies; only message in thread
From: Phil Sutter @ 2021-03-08 14:45 UTC (permalink / raw)
To: Pablo Neira Ayuso; +Cc: netfilter-devel
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(+)
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
[
{
--
2.30.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-08 14:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-08 14:45 [nft PATCH] tests/py: Fix for missing JSON equivalent in any/ct.t.json Phil Sutter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.