summaryrefslogtreecommitdiffstats
path: root/tests/py/inet
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/inet')
-rw-r--r--tests/py/inet/osf.t.json18
-rw-r--r--tests/py/inet/socket.t.json5
-rw-r--r--tests/py/inet/tproxy.t.json25
3 files changed, 33 insertions, 15 deletions
diff --git a/tests/py/inet/osf.t.json b/tests/py/inet/osf.t.json
index 10fb68c1..4bb413ca 100644
--- a/tests/py/inet/osf.t.json
+++ b/tests/py/inet/osf.t.json
@@ -7,6 +7,7 @@
"key": "name"
}
},
+ "op": "==",
"right": "Linux"
}
}
@@ -21,6 +22,7 @@
"key": "name"
}
},
+ "op": "==",
"right": {
"set": [
"MacOs",
@@ -35,19 +37,14 @@
[
{
"mangle": {
- "left": {
+ "key": {
"ct": {
"key": "mark"
}
},
- "right": {
+ "value": {
"map": {
- "left": {
- "osf": {
- "key": "name"
- }
- },
- "right": {
+ "data": {
"set": [
[
"MacOs",
@@ -58,6 +55,11 @@
1
]
]
+ },
+ "key": {
+ "osf": {
+ "key": "name"
+ }
}
}
}
diff --git a/tests/py/inet/socket.t.json b/tests/py/inet/socket.t.json
index d672c500..99d6e248 100644
--- a/tests/py/inet/socket.t.json
+++ b/tests/py/inet/socket.t.json
@@ -7,7 +7,7 @@
"key": "transparent"
}
},
- "op": "==",
+ "op": "==",
"right": 0
}
}
@@ -22,7 +22,7 @@
"key": "transparent"
}
},
- "op": "==",
+ "op": "==",
"right": 1
}
}
@@ -37,6 +37,7 @@
"key": "mark"
}
},
+ "op": "==",
"right": 5
}
}
diff --git a/tests/py/inet/tproxy.t.json b/tests/py/inet/tproxy.t.json
index 88304206..2897d200 100644
--- a/tests/py/inet/tproxy.t.json
+++ b/tests/py/inet/tproxy.t.json
@@ -3,8 +3,11 @@
{
"match": {
"left": {
- "meta": "l4proto"
+ "meta": {
+ "key": "l4proto"
+ }
},
+ "op": "==",
"right": 17
}
},
@@ -21,8 +24,11 @@
{
"match": {
"left": {
- "meta": "l4proto"
+ "meta": {
+ "key": "l4proto"
+ }
},
+ "op": "==",
"right": 6
}
},
@@ -40,8 +46,11 @@
{
"match": {
"left": {
- "meta": "l4proto"
+ "meta": {
+ "key": "l4proto"
+ }
},
+ "op": "==",
"right": 6
}
},
@@ -58,8 +67,11 @@
{
"match": {
"left": {
- "meta": "l4proto"
+ "meta": {
+ "key": "l4proto"
+ }
},
+ "op": "==",
"right": 17
}
},
@@ -77,8 +89,11 @@
{
"match": {
"left": {
- "meta": "l4proto"
+ "meta": {
+ "key": "l4proto"
+ }
},
+ "op": "==",
"right": 17
}
},