summaryrefslogtreecommitdiffstats
path: root/tests/py/any
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/any')
-rw-r--r--tests/py/any/rt.t7
-rw-r--r--tests/py/any/rt.t.payload5
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/py/any/rt.t b/tests/py/any/rt.t
new file mode 100644
index 00000000..4f65eaad
--- /dev/null
+++ b/tests/py/any/rt.t
@@ -0,0 +1,7 @@
+:output;type filter hook input priority 0
+
+*ip;test-ip4;output
+*ip6;test-ip6;output
+*inet;test-inet;output
+
+rt classid "cosmos";ok
diff --git a/tests/py/any/rt.t.payload b/tests/py/any/rt.t.payload
new file mode 100644
index 00000000..0e354fa0
--- /dev/null
+++ b/tests/py/any/rt.t.payload
@@ -0,0 +1,5 @@
+# rt classid "cosmos"
+ip test-ip4 input
+ [ rt load classid => reg 1 ]
+ [ cmp eq reg 1 0x00000000 ]
+