summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/esp.t.json
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2021-06-03 22:45:13 +0200
committerFlorian Westphal <fw@strlen.de>2021-06-07 22:50:55 +0200
commitec1ea13314fa55e43e3034bf43297829b25ba582 (patch)
tree9bcb6f874abd1672abc46c1cbf13765ef6753681 /tests/py/inet/esp.t.json
parentf98185fd18079cbf4041c24c47a6111fc873a7bc (diff)
tests: remove redundant test cases
Check for ... 23-42 ... ... { 23-42 } ... and remove the latter. Followup patch will translate the former to the latter during evaluation step to avoid the unneded anon set. A separate test case will be added that checks for such rewrites. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/py/inet/esp.t.json')
-rw-r--r--tests/py/inet/esp.t.json80
1 files changed, 0 insertions, 80 deletions
diff --git a/tests/py/inet/esp.t.json b/tests/py/inet/esp.t.json
index ee690f96..a9dedd6f 100644
--- a/tests/py/inet/esp.t.json
+++ b/tests/py/inet/esp.t.json
@@ -108,46 +108,6 @@
}
]
-# esp spi { 100-102}
-[
- {
- "match": {
- "left": {
- "payload": {
- "field": "spi",
- "protocol": "esp"
- }
- },
- "op": "==",
- "right": {
- "set": [
- { "range": [ 100, 102 ] }
- ]
- }
- }
- }
-]
-
-# esp spi != { 100-102}
-[
- {
- "match": {
- "left": {
- "payload": {
- "field": "spi",
- "protocol": "esp"
- }
- },
- "op": "!=",
- "right": {
- "set": [
- { "range": [ 100, 102 ] }
- ]
- }
- }
- }
-]
-
# esp sequence 22
[
{
@@ -242,43 +202,3 @@
}
]
-# esp sequence { 22-25}
-[
- {
- "match": {
- "left": {
- "payload": {
- "field": "sequence",
- "protocol": "esp"
- }
- },
- "op": "==",
- "right": {
- "set": [
- { "range": [ 22, 25 ] }
- ]
- }
- }
- }
-]
-
-# esp sequence != { 22-25}
-[
- {
- "match": {
- "left": {
- "payload": {
- "field": "sequence",
- "protocol": "esp"
- }
- },
- "op": "!=",
- "right": {
- "set": [
- { "range": [ 22, 25 ] }
- ]
- }
- }
- }
-]
-