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

# NFT_TEST_REQUIRES(NFT_TEST_HAVE_ctexpect)

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"