summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/sets/0052overlap_0
blob: c2960945c492c56c6bbc4505377c0593796dbeac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

set -e

EXPECTED="add table ip filter
add set ip filter w_all {type ipv4_addr; flags interval; auto-merge}
add element ip filter w_all {10.10.10.10, 10.10.10.11}
"

$NFT -f - <<< "$EXPECTED"

EXPECTED="flush set ip filter w_all
add element ip filter w_all {10.10.10.10, 10.10.10.253}
"

$NFT -f - <<< "$EXPECTED"