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

$NFT add table x

# pass for non-existent set
$NFT destroy set x s

# successfully delete existing set
$NFT add set x s '{type ipv4_addr; size 2;}'
$NFT destroy set x s