]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: shell: avoid spurious failure when running in host namespace
authorFlorian Westphal <fw@strlen.de>
Sat, 22 Feb 2020 08:46:40 +0000 (09:46 +0100)
committerFlorian Westphal <fw@strlen.de>
Sat, 22 Feb 2020 08:54:25 +0000 (09:54 +0100)
commit58386df4ae6d6481ff16700df232551da00205aa
treee493b4b9d461cf8d584e437eff30681df9068a77
parentff29e6c09aed922a42e0e0551c34dd5d87067512
tests: shell: avoid spurious failure when running in host namespace

Dump validation may fail:
- tcp dport { 22, 23 } counter packets 0 bytes 0
+ tcp dport { 22, 23 } counter packets 9 bytes 3400

... which is normal on host namespace.

Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/testcases/sets/0025anonymous_set_0
tests/shell/testcases/sets/dumps/0025anonymous_set_0.nft