]> git.ipfire.org Git - thirdparty/iptables.git/commit
tests/shell: Fix nft-only/0009-needless-bitwise_0
authorPhil Sutter <phil@nwl.cc>
Fri, 15 Jan 2021 20:58:48 +0000 (21:58 +0100)
committerPhil Sutter <phil@nwl.cc>
Fri, 15 Jan 2021 21:23:40 +0000 (22:23 +0100)
commit0f7ea0390b33654c9a91015966f518b98356e786
tree96a53860ebc9c0de74001e51c24e0cb193b97e8a
parentfd4b9bf08b9eb4994bbba426426a978c5b9af590
tests/shell: Fix nft-only/0009-needless-bitwise_0

For whatever reason, stored expected output contains false handles. To
overcome this, filter the rule data lines from both expected and stored
output before comparing.

Fixes: 81a2e12851283 ("tests/shell: Add test for bitwise avoidance fixes")
Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/tests/shell/testcases/nft-only/0009-needless-bitwise_0