]> git.ipfire.org Git - thirdparty/iptables.git/commit
tests: Test compat mode
authorPhil Sutter <phil@nwl.cc>
Fri, 5 May 2023 18:18:38 +0000 (20:18 +0200)
committerPhil Sutter <phil@nwl.cc>
Fri, 11 Aug 2023 13:56:38 +0000 (15:56 +0200)
commitb14c971db6db069fbfd2a892c617de8d8bf26733
tree7943aa0771f1900cbaff4a3725a8f2f6c2e45e8c
parent11c464ed015b52a28d90c63c69e10e5f7d4053d4
tests: Test compat mode

Extend iptables-test.py by a third mode, which is using
xtables-nft-multi and passing --compat to all calls creating rules.

Also add a shell testcase asserting the effectiveness of --compat by
comparing debug (-vv) output.

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables-test.py
iptables/tests/shell/testcases/nft-only/0011-compat-mode_0 [new file with mode: 0755]