summaryrefslogtreecommitdiffstats
path: root/tests/py/netdev/dup.t
diff options
context:
space:
mode:
authorLukas Wunner <lukas@wunner.de>2021-10-24 09:37:35 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2021-10-28 02:01:20 +0200
commit1e30a3a49a5eaf2a1e0e4b2d8f4949db9db565e7 (patch)
tree6018b85290f3d00d026df8970ad9976a001f6bdf /tests/py/netdev/dup.t
parentc03d5e2bda285db8358407de3581b4ea933bd3dc (diff)
tests: py: Move netdev-specific tests to appropriate subdirectory
The fwd and dup statements are specific to netdev hooks, so move their tests to the appropriate subdirectory. Signed-off-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/netdev/dup.t')
-rw-r--r--tests/py/netdev/dup.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/py/netdev/dup.t b/tests/py/netdev/dup.t
new file mode 100644
index 00000000..181b4195
--- /dev/null
+++ b/tests/py/netdev/dup.t
@@ -0,0 +1,7 @@
+:ingress;type filter hook ingress device lo priority 0
+
+*netdev;test-netdev;ingress
+
+dup to "lo";ok
+dup to meta mark map { 0x00000001 : "lo", 0x00000002 : "lo"};ok
+