summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_cgroup.t
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libxt_cgroup.t')
-rw-r--r--extensions/libxt_cgroup.t8
1 files changed, 8 insertions, 0 deletions
diff --git a/extensions/libxt_cgroup.t b/extensions/libxt_cgroup.t
new file mode 100644
index 00000000..72c8e377
--- /dev/null
+++ b/extensions/libxt_cgroup.t
@@ -0,0 +1,8 @@
+:INPUT,OUTPUT,POSTROUTING
+*mangle
+-m cgroup --cgroup 1;=;OK
+-m cgroup ! --cgroup 1;=;OK
+-m cgroup --path "/";=;OK
+-m cgroup ! --path "/";=;OK
+-m cgroup --cgroup 1 --path "/";;FAIL
+-m cgroup ;;FAIL