From 6bc84e04c40a2497c4c416556df09e2782059e1c Mon Sep 17 00:00:00 2001 From: "Anders K. Pedersen" Date: Sat, 29 Oct 2016 03:12:41 +0200 Subject: 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 --- tests/py/inet/rt.t | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/py/inet/rt.t (limited to 'tests/py/inet/rt.t') 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 + +*inet;test-inet;output + +rt nexthop 192.168.0.1;fail +rt nexthop fd00::1;fail +meta nfproto ipv4 rt nexthop 192.168.0.1;ok +meta nfproto ipv6 rt nexthop fd00::1;ok -- cgit v1.2.3