path: root/tests/py/inet/rt.t
diff options
authorAnders K. Pedersen <>2016-10-29 03:12:41 +0200
committerFlorian Westphal <>2016-10-29 03:12:41 +0200
commit6bc84e04c40a2497c4c416556df09e2782059e1c (patch)
tree459c92b5ec75e84951e9facb42d3361a38ec6784 /tests/py/inet/rt.t
parent4a75ed32132d8e2292dd276f3ea7f4edec4f3d06 (diff)
Replace tests/files/expr-rt with Python based tests, and replace ether type
with meta nfproto, which generates a bit fewer instructions. Signed-off-by: Anders K. Pedersen <> Signed-off-by: Florian Westphal <>
Diffstat (limited to 'tests/py/inet/rt.t')
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/py/inet/rt.t b/tests/py/inet/rt.t
new file mode 100644
index 00000000..f2dcbdc4
--- /dev/null
+++ b/tests/py/inet/rt.t
@@ -0,0 +1,8 @@
+:output;type filter hook input priority 0
+rt nexthop;fail
+rt nexthop fd00::1;fail
+meta nfproto ipv4 rt nexthop;ok
+meta nfproto ipv6 rt nexthop fd00::1;ok