summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/sets/collapse_elem_0
blob: 7699e9da3e75dd0dc27321ccb2f6a5b9ca589ddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

set -e

RULESET="table ip a {
	set x {
		type inet_service;
	}
}
table ip6 a {
	set x {
		type inet_service;
	}
}
add element ip a x { 1 }
add element ip a x { 2 }
add element ip6 a x { 2 }"

$NFT -f - <<< $RULESET