diff options
author | Florian Westphal <fw@strlen.de> | 2019-05-17 12:46:31 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2019-05-19 19:10:21 +0200 |
commit | d03bcb669c0c645190df9bd166f53380bcac7862 (patch) | |
tree | 9a7265368f0003a679f247fde2e0652f3e4bbf58 /tests/py/any/meta.t.json | |
parent | b7459b0c854fc7a0d6cd86151b81035a8edf8e63 (diff) |
tests: py: remove single-value-anon-set test cases
future change will rewrite all single-element anon sets to a cmp op.
Retain a few test cases to later check that the rewrite is correct, but
remove all others.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/py/any/meta.t.json')
-rw-r--r-- | tests/py/any/meta.t.json | 168 |
1 files changed, 0 insertions, 168 deletions
diff --git a/tests/py/any/meta.t.json b/tests/py/any/meta.t.json index 2cf91cda..e4d22fa7 100644 --- a/tests/py/any/meta.t.json +++ b/tests/py/any/meta.t.json @@ -143,40 +143,6 @@ } ] -# meta length { 33-55} -[ - { - "match": { - "left": { - "meta": { "key": "length" } - }, - "op": "==", - "right": { - "set": [ - { "range": [ 33, 55 ] } - ] - } - } - } -] - -# meta length != { 33-55} -[ - { - "match": { - "left": { - "meta": { "key": "length" } - }, - "op": "!=", - "right": { - "set": [ - { "range": [ 33, 55 ] } - ] - } - } - } -] - # meta protocol { ip, arp, ip6, vlan } [ { @@ -339,23 +305,6 @@ } ] -# meta l4proto { 33-55} -[ - { - "match": { - "left": { - "meta": { "key": "l4proto" } - }, - "op": "==", - "right": { - "set": [ - { "range": [ 33, 55 ] } - ] - } - } - } -] - # meta l4proto != { 33-55} [ { @@ -1000,26 +949,6 @@ } ] -# meta oif != {"lo"} accept -[ - { - "match": { - "left": { - "meta": { "key": "oif" } - }, - "op": "!=", - "right": { - "set": [ - "lo" - ] - } - } - }, - { - "accept": null - } -] - # meta oifname "dummy0" [ { @@ -1316,46 +1245,6 @@ } ] -# meta skuid { 2001-2005} accept -[ - { - "match": { - "left": { - "meta": { "key": "skuid" } - }, - "op": "==", - "right": { - "set": [ - { "range": [ 2001, 2005 ] } - ] - } - } - }, - { - "accept": null - } -] - -# meta skuid != { 2001-2005} accept -[ - { - "match": { - "left": { - "meta": { "key": "skuid" } - }, - "op": "!=", - "right": { - "set": [ - { "range": [ 2001, 2005 ] } - ] - } - } - }, - { - "accept": null - } -] - # meta skgid {"bin", "root", "daemon"} accept [ { @@ -1510,46 +1399,6 @@ } ] -# meta skgid { 2001-2005} accept -[ - { - "match": { - "left": { - "meta": { "key": "skgid" } - }, - "op": "==", - "right": { - "set": [ - { "range": [ 2001, 2005 ] } - ] - } - } - }, - { - "accept": null - } -] - -# meta skgid != { 2001-2005} accept -[ - { - "match": { - "left": { - "meta": { "key": "skgid" } - }, - "op": "!=", - "right": { - "set": [ - { "range": [ 2001, 2005 ] } - ] - } - } - }, - { - "accept": null - } -] - # meta mark set 0xffffffc8 xor 0x16 [ { @@ -2196,23 +2045,6 @@ } ] -# meta oifgroup {11-33} -[ - { - "match": { - "left": { - "meta": { "key": "oifgroup" } - }, - "op": "==", - "right": { - "set": [ - { "range": [ 11, 33 ] } - ] - } - } - } -] - # meta oifgroup != { 11,33} [ { |