blob: 1763d802c1dda64531a0608f7ab081b0ab5cf556 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh -e
# NFT_TEST_REQUIRES(NFT_TEST_HAVE_destroy)
$NFT add table t
# pass for non-existent chain
$NFT destroy chain t c
# successfully delete existing chain
$NFT add chain t c
$NFT destroy chain t c
|