]> git.ipfire.org Git - thirdparty/iptables.git/commit
tests: shell: Adjust for recent changes in libnftnl
authorPhil Sutter <phil@nwl.cc>
Tue, 1 Oct 2024 19:43:18 +0000 (21:43 +0200)
committerPhil Sutter <phil@nwl.cc>
Tue, 1 Oct 2024 19:49:45 +0000 (21:49 +0200)
commite93372954cf88ac044fb2fc14dcb0e9237804e2d
tree791b55423da409c4c563d694e9631755e567f564
parent38fde6a6d9959fe8d0bb25e1800ae996becf0621
tests: shell: Adjust for recent changes in libnftnl

libnftnl commit a96d5a338f24e ("rule: Don't append a newline when
printing a rule") affected nft (and iptables-nft) debug output in that
no extra newline is appended to rule bytecode output anymore. Tolerate
this in the sole test case it breaks by ignoring changes to blank lines.

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/tests/shell/testcases/nft-only/0009-needless-bitwise_0