summaryrefslogtreecommitdiffstats
path: root/tests/py/any/last.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/any/last.t')
-rw-r--r--tests/py/any/last.t13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/py/any/last.t b/tests/py/any/last.t
new file mode 100644
index 0000000..5c53046
--- /dev/null
+++ b/tests/py/any/last.t
@@ -0,0 +1,13 @@
+:input;type filter hook input priority 0
+:ingress;type filter hook ingress device lo priority 0
+
+*ip;test-ip4;input
+*ip6;test-ip6;input
+*inet;test-inet;input
+*arp;test-arp;input
+*bridge;test-bridge;input
+*netdev;test-netdev;ingress
+
+last;ok
+last used 300s;ok;last
+last used foo;fail