summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/cache/dumps
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2019-05-17 13:57:23 +0200
committerFlorian Westphal <fw@strlen.de>2019-05-19 19:09:49 +0200
commitb7459b0c854fc7a0d6cd86151b81035a8edf8e63 (patch)
tree5d1bcf1c9570b55a1a3a9c243df52e7ed7aef027 /tests/shell/testcases/cache/dumps
parent7171f0bf8425a73d1043f53607f909f973b2a7e2 (diff)
tests: shell: avoid single-value anon sets
Future change is going to auto-change them to simple compare ops rather than lookup in set with only one element. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/shell/testcases/cache/dumps')
-rw-r--r--tests/shell/testcases/cache/dumps/0001_cache_handling_0.nft4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/shell/testcases/cache/dumps/0001_cache_handling_0.nft b/tests/shell/testcases/cache/dumps/0001_cache_handling_0.nft
index f6dd6541..47d744e9 100644
--- a/tests/shell/testcases/cache/dumps/0001_cache_handling_0.nft
+++ b/tests/shell/testcases/cache/dumps/0001_cache_handling_0.nft
@@ -5,8 +5,8 @@ table inet test {
}
chain test {
- ip daddr { 2.2.2.2 } counter packets 0 bytes 0 accept
+ ip daddr 2.2.2.2 counter packets 0 bytes 0 accept
ip saddr @test counter packets 0 bytes 0 accept
- ip daddr { 2.2.2.2 } counter packets 0 bytes 0 accept
+ ip daddr 2.2.2.2 counter packets 0 bytes 0 accept
}
}