summaryrefslogtreecommitdiffstats
path: root/tests/py/any
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2024-03-22 14:00:26 +0100
committerPhil Sutter <phil@nwl.cc>2024-04-12 14:33:14 +0200
commit0c17b910b3e19c4eacf5567f90b6545ed1fd8aac (patch)
treec592a636f363772920f771258dbda1c6a7631f64 /tests/py/any
parentbf52af188b306acf5a30134d6a670f41f16a9459 (diff)
tests: py: Fix some JSON equivalents
Make sure they match the standard syntax input as much as possible. For some reason inet/tcp.t.json was using plain arrays in place of binary OR expressions in many cases. These arrays are interpreted as list expressions, which seems to be semantically identical but the goal here is to present an accurate equivalent to the rule in standard syntax. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'tests/py/any')
-rw-r--r--tests/py/any/meta.t.json2
-rw-r--r--tests/py/any/tcpopt.t.json4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/py/any/meta.t.json b/tests/py/any/meta.t.json
index 2af3f623..676affea 100644
--- a/tests/py/any/meta.t.json
+++ b/tests/py/any/meta.t.json
@@ -2661,7 +2661,7 @@
}
},
"op": "==",
- "right": "17:00"
+ "right": "17:00:00"
}
},
{
diff --git a/tests/py/any/tcpopt.t.json b/tests/py/any/tcpopt.t.json
index 4466f14f..87074b9d 100644
--- a/tests/py/any/tcpopt.t.json
+++ b/tests/py/any/tcpopt.t.json
@@ -192,7 +192,7 @@
"left": {
"tcp option": {
"field": "left",
- "name": "sack"
+ "name": "sack0"
}
},
"op": "==",
@@ -272,7 +272,7 @@
"left": {
"tcp option": {
"field": "right",
- "name": "sack"
+ "name": "sack0"
}
},
"op": "==",