]> git.ipfire.org Git - thirdparty/iptables.git/commit
tests: Extend verbose output and return code tests
authorPhil Sutter <phil@nwl.cc>
Thu, 20 Dec 2018 15:09:16 +0000 (16:09 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 27 Dec 2018 19:44:37 +0000 (20:44 +0100)
commite80f7fe56e4c64e05da426418bc2fae7ca221c49
treef7b416f10402c9581a50028eb0d8fe594872c7c4
parenta6ce0c65d3a390bfff16e834c18650beedecf40c
tests: Extend verbose output and return code tests

Recent changes to chain flush and zero routines incorporate proper error
propagation so trying to flush or zero a non-existent chain results in
an error. This is consistent with iptables-legacy, extend tests to make
sure it stays this way.

Also extend verbose output test to make these recent changes didn't mess
it up.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
iptables/tests/shell/testcases/iptables/0002-verbose-output_0
iptables/tests/shell/testcases/iptables/0004-return-codes_0