From 44b079303f68c9e034696e36d9489592e71adced Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 11 Oct 2018 17:48:54 +0200 Subject: 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 Signed-off-by: Pablo Neira Ayuso --- tests/py/inet/meta.t.json | 8 +++++--- 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 + } + } +] + -- cgit v1.2.3