summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/flowtable/0008prio_1
blob: 87084b93966424fb3a2e38cfcdbf22fc308f71db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

$NFT add table t
for prioname in raw mangle dstnar security srcnat out dummy
do
	$NFT add flowtable t f { hook ingress priority $prioname \; devices = { lo }\; }
	if (($? == 0))
	then
		echo "E: $prioname should not be a valid priority name for flowtables" >&2
		exit 0
	fi
done

exit 1