]> git.ipfire.org Git - thirdparty/iptables.git/commit
tests: iptables-test: Fix for duplicate supposed-to-fail errors
authorPhil Sutter <phil@nwl.cc>
Tue, 22 Oct 2024 14:56:21 +0000 (16:56 +0200)
committerPhil Sutter <phil@nwl.cc>
Tue, 5 Nov 2024 17:10:24 +0000 (18:10 +0100)
commitd6068deba5a51f906abea6c99dc7d2d07d0d4901
tree4c7bf99fe37f3779924018877439d631cb4c5e1b
parentce7aab8a5c852352421463a3dcb6f30ca53fb5b2
tests: iptables-test: Fix for duplicate supposed-to-fail errors

Unexpected results for lines which are supposed to fail are reported
twice: Once when fast mode runs them individually to clear the path
before batch-handling all others, a second time when non-fast mode takes
over after fast mode had failed and runs all tests individually again.

Sort this nuisance by running these tests silently in fast mode, knowing
that they will run again if failing anyway.

Fixes: 0e80cfea3762b ("tests: iptables-test: Implement fast test mode")
Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables-test.py