]> git.ipfire.org Git - thirdparty/iptables.git/commit
tests: shell: Merge and extend return codes test
authorPhil Sutter <phil@nwl.cc>
Thu, 6 Aug 2020 16:52:34 +0000 (18:52 +0200)
committerPhil Sutter <phil@nwl.cc>
Fri, 14 Aug 2020 07:00:25 +0000 (09:00 +0200)
commitcd3e83d1b04fd2683f0fb06e496ee5be08a96b4f
tree719621fae7d88a74b6f3d0519bcb1d45262a0377
parent3be40dcfb5af1438b6abdbda45a1e3b59c104e13
tests: shell: Merge and extend return codes test

Merge scripts for iptables and ip6tables, they were widely identical.
Also extend the test by one check (removing a non-existent rule with
valid chain and target) and quote the error messages where differences
are deliberately ignored.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
iptables/tests/shell/testcases/ip6tables/0004-return-codes_0 [deleted file]
iptables/tests/shell/testcases/iptables/0004-return-codes_0