summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/rule_management/0011destroy_0
blob: 895c24a4dacba79807868a89a511343104309fd4 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

set -e
$NFT add table t
$NFT add chain t c
$NFT insert rule t c accept # should have handle 2

$NFT destroy rule t c handle 2