diff options
author | Phil Sutter <phil@nwl.cc> | 2018-10-11 17:48:54 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-10-15 13:37:51 +0200 |
commit | 44b079303f68c9e034696e36d9489592e71adced (patch) | |
tree | 950f0ac338d84ce3d187b92a79a9e3d31980ab29 | |
parent | 8ef0efb97006081e7f6054a950cb3614dd57729f (diff) |
tests/py: Add missing JSON bits for inet/meta.t
Those were forgotten when renaming meta secpath to meta ipsec.
Fixes: 8f55ed41d0070 ("src: rename meta secpath to meta ipsec")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r-- | tests/py/inet/meta.t.json | 8 | ||||
-rw-r--r-- | tests/py/inet/meta.t.json.output | 15 |
2 files changed, 20 insertions, 3 deletions
diff --git a/tests/py/inet/meta.t.json b/tests/py/inet/meta.t.json index 77f46ab6..5501f0be 100644 --- a/tests/py/inet/meta.t.json +++ b/tests/py/inet/meta.t.json @@ -185,14 +185,16 @@ } ] -# meta secpath exists +# meta ipsec exists [ { "match": { "left": { - "meta": { "key": "secpath" } + "meta": { + "key": "ipsec" + } }, - "op": "==", + "op": "==", "right": true } } diff --git a/tests/py/inet/meta.t.json.output b/tests/py/inet/meta.t.json.output index d0bb0a61..3e7dd214 100644 --- a/tests/py/inet/meta.t.json.output +++ b/tests/py/inet/meta.t.json.output @@ -36,3 +36,18 @@ } ] +# meta secpath missing +[ + { + "match": { + "left": { + "meta": { + "key": "ipsec" + } + }, + "op": "==", + "right": false + } + } +] + |