]> git.ipfire.org Git - thirdparty/iptables.git/commit
tests: add `NOMATCH` test result
authorJeremy Sowden <jeremy@azazel.net>
Sat, 12 Feb 2022 16:58:30 +0000 (16:58 +0000)
committerFlorian Westphal <fw@strlen.de>
Sun, 13 Feb 2022 21:20:17 +0000 (22:20 +0100)
commitadb03c3f06ff1f3ac23d3b7b7f10f91122029914
tree02a20b1fa199dc236a28c5f4f8ef5263d7d56393
parent7a006c7d5c58ef93f1606b56d4c9589827c6dc27
tests: add `NOMATCH` test result

Currently, there are two supported test results: `OK` and `FAIL`.  It is
expected that either the iptables command fails, or it succeeds and
dumping the rule has the correct output.  However, it is possible that
the command may succeed but the output may not be correct.  Add a
`NOMATCH` result to cover this outcome.

Make a few white-space improvements at the same time.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Florian Westphal <fw@strlen.de>
iptables-test.py