diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-09-20 01:33:43 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-10-07 16:35:49 +0200 |
commit | 0cdb4411273d2b35678a464199c019d522148075 (patch) | |
tree | 448db92e496e1287af9ae64d0070e37478e8f686 /extensions | |
parent | 1667e7a4efc3d3c6f9d5142414738555e04d0a93 (diff) |
extensions: libxt_nfacct: add unit test
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/libxt_nfacct.t | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/extensions/libxt_nfacct.t b/extensions/libxt_nfacct.t new file mode 100644 index 00000000..3419b4ce --- /dev/null +++ b/extensions/libxt_nfacct.t @@ -0,0 +1,10 @@ +:INPUT,FORWARD,OUTPUT +@nfacct add test +# +# extra space in iptables-save output, fix it +# +# ERROR: cannot load: iptables -A INPUT -m nfacct --nfacct-name test +#-m nfacct --nfacct-name test;=;OK +-m nfacct --nfacct-name wrong;;FAIL +-m nfacct;;FAIL +@nfacct del test |