summaryrefslogtreecommitdiffstats
path: root/tests/py/ip/rt.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/ip/rt.t')
-rw-r--r--tests/py/ip/rt.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/py/ip/rt.t b/tests/py/ip/rt.t
new file mode 100644
index 0000000..986bf34
--- /dev/null
+++ b/tests/py/ip/rt.t
@@ -0,0 +1,7 @@
+:output;type filter hook input priority 0
+
+*ip;test-ip4;output
+
+rt nexthop 192.168.0.1;ok;rt ip nexthop 192.168.0.1
+rt nexthop fd00::1;fail
+rt ip6 nexthop fd00::1;fail