summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/flowtable/0015destroy_0
blob: 66fce4992a5023330fe091b1890701238354e029 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh -e

$NFT add table t

# pass for non-existent flowtable
$NFT destroy flowtable t f

# successfully delete existing flowtable
$NFT add flowtable t f '{ hook ingress priority 10; devices = { lo }; }'
$NFT destroy flowtable t f