summaryrefslogtreecommitdiffstats
path: root/tests/py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py')
-rw-r--r--tests/py/inet/meta.t.json8
-rw-r--r--tests/py/inet/meta.t.json.output15
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
+ }
+ }
+]
+