summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/sets/dumps
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2020-02-22 09:46:40 +0100
committerFlorian Westphal <fw@strlen.de>2020-02-22 09:54:25 +0100
commit58386df4ae6d6481ff16700df232551da00205aa (patch)
treee493b4b9d461cf8d584e437eff30681df9068a77 /tests/shell/testcases/sets/dumps
parentff29e6c09aed922a42e0e0551c34dd5d87067512 (diff)
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>
Diffstat (limited to 'tests/shell/testcases/sets/dumps')
-rw-r--r--tests/shell/testcases/sets/dumps/0025anonymous_set_0.nft2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shell/testcases/sets/dumps/0025anonymous_set_0.nft b/tests/shell/testcases/sets/dumps/0025anonymous_set_0.nft
index 6204b00c..59636994 100644
--- a/tests/shell/testcases/sets/dumps/0025anonymous_set_0.nft
+++ b/tests/shell/testcases/sets/dumps/0025anonymous_set_0.nft
@@ -2,6 +2,6 @@ table ip t {
chain c {
type filter hook output priority filter; policy accept;
ip daddr { 192.168.0.1, 192.168.0.2, 192.168.0.3 }
- tcp dport { 22, 23 } counter packets 0 bytes 0
+ oifname "doesntexist" tcp dport { 22, 23 } counter packets 0 bytes 0
}
}