summaryrefslogtreecommitdiffstats
path: root/tests/py/any
diff options
context:
space:
mode:
authorManuel Johannes Messner <manuel.johannes.messner@hs-furtwangen.de>2016-09-05 20:20:14 +0200
committerFlorian Westphal <fw@strlen.de>2016-09-06 13:10:31 +0200
commit8087280d76c31c851c85bd1d920ba92bb642ad9f (patch)
tree1bcb1220ada394e20a2fe5cf5ce85777855238fd /tests/py/any
parenta8871ba6daa0ae70f6ea51e9fbbfaaad409bbab3 (diff)
tests: py: any: Remove duplicate tests
This commit removes some duplicated tests. Signed-off-by: Manuel Johannes Messner <manuel.johannes.messner@hs-furtwangen.de> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/py/any')
-rw-r--r--tests/py/any/meta.t3
-rw-r--r--tests/py/any/meta.t.payload12
2 files changed, 0 insertions, 15 deletions
diff --git a/tests/py/any/meta.t b/tests/py/any/meta.t
index 852ef824..a1249e8b 100644
--- a/tests/py/any/meta.t
+++ b/tests/py/any/meta.t
@@ -66,8 +66,6 @@ meta mark xor 0x03 == 0x01;ok;mark 0x00000002
meta mark xor 0x03 != 0x01;ok;mark != 0x00000002
meta iif "lo" accept;ok;iif "lo" accept
-meta iif "lo" accept;ok;iif "lo" accept
-meta iif != "lo" accept;ok;iif != "lo" accept
meta iif != "lo" accept;ok;iif != "lo" accept
meta iifname "dummy0";ok;iifname "dummy0"
@@ -92,7 +90,6 @@ meta oif {"lo"} accept;ok
meta oifname "dummy0";ok;oifname "dummy0"
meta oifname != "dummy0";ok;oifname != "dummy0"
meta oifname { "dummy0", "lo"};ok
-- meta iifname != {"dummy0", "lo"};ok
meta oifname "dummy*";ok;oifname "dummy*"
meta oifname "dummy\*";ok;oifname "dummy\*"
diff --git a/tests/py/any/meta.t.payload b/tests/py/any/meta.t.payload
index 19cc6ac5..5fff76e2 100644
--- a/tests/py/any/meta.t.payload
+++ b/tests/py/any/meta.t.payload
@@ -199,18 +199,6 @@ ip test-ip4 input
[ cmp eq reg 1 0x00000001 ]
[ immediate reg 0 accept ]
-# meta iif "lo" accept
-ip test-ip4 input
- [ meta load iif => reg 1 ]
- [ cmp eq reg 1 0x00000001 ]
- [ immediate reg 0 accept ]
-
-# meta iif != "lo" accept
-ip test-ip4 input
- [ meta load iif => reg 1 ]
- [ cmp neq reg 1 0x00000001 ]
- [ immediate reg 0 accept ]
-
# meta iif != "lo" accept
ip test-ip4 input
[ meta load iif => reg 1 ]