summaryrefslogtreecommitdiffstats
path: root/tests/regression/any/limit.t
diff options
context:
space:
mode:
authorAna Rey <anarey@gmail.com>2014-09-18 12:39:21 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2014-09-18 12:52:44 +0200
commit8c41f0bff62ba2eb0b3651b65a59511fb38c4947 (patch)
tree1aeb8ee7af2aea9f2efa429e9763bbeef363cafb /tests/regression/any/limit.t
parent85ba1f49cc6cc1b47956dfbe65f2061aac0cac65 (diff)
tests: Add any folder with test files.
"any" folder contains the test files that are executed in ipv4, ipv6, inet, arp, bridge family of tables. These test files are executed with nft-tests.py Signed-off-by: Ana Rey <anarey@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/regression/any/limit.t')
-rw-r--r--tests/regression/any/limit.t12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/regression/any/limit.t b/tests/regression/any/limit.t
new file mode 100644
index 00000000..9af1ea81
--- /dev/null
+++ b/tests/regression/any/limit.t
@@ -0,0 +1,12 @@
+*ip;test-ip4
+*ip6;test-ip6
+*inet;test-inet
+*arp;test-arp
+*bridge;test-bridge
+:output;type filter hook output priority 0
+
+limit rate 400/minute;ok
+limit rate 20/second;ok
+limit rate 400/hour;ok
+limit rate 400/week;ok
+limit rate 40/day;ok