summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/nft-f/0018ct_expectation_obj_0
blob: eb9df3ceb1211daa6af18639e12818d4f169e38c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

EXPECTED='table ip filter {
	ct expectation ctexpect{
		protocol tcp
		dport 9876
		timeout 1m
		size 12
		l3proto ip
	}

	chain c {
		ct expectation set "ctexpect"
	}
}'

set -e
$NFT -f - <<< $EXPECTED