]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
extensions: libxt_AUDIT: add unit test
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 7 Sep 2012 14:44:28 +0000 (16:44 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 7 Oct 2013 14:35:47 +0000 (16:35 +0200)
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
extensions/libxt_AUDIT.t [new file with mode: 0644]

diff --git a/extensions/libxt_AUDIT.t b/extensions/libxt_AUDIT.t
new file mode 100644 (file)
index 0000000..97575b0
--- /dev/null
@@ -0,0 +1,6 @@
+:INPUT,FORWARD,OUTPUT
+-j AUDIT --type accept;=;OK
+-j AUDIT --type drop;=;OK
+-j AUDIT --type reject;=;OK
+-j AUDIT;;FAIL
+-j AUDIT --type wrong;;FAIL