☰
Debian Codegraph
@
1.1.7-1
1.1.6-1
/
/
tests
/
shell
/
testcases
/
chains
/
0004busy_1
☽
☼
tests/shell/testcases/chains/0004busy_1
code
plain
raw
GPL-2
2008 Patrick McHardy <
[email protected]
>
debian/copyright
1
#!/bin/bash
2
3
set -e
4
5
$NFT add table t
6
$NFT add chain t c1
7
$NFT add chain t c2
8
$NFT add rule t c1 jump c2
9
10
# kernel should return EBUSY
11
$NFT delete chain t c2 2>/dev/null || exit 0
12
echo "E: deleted a busy chain?" >&2
13
exit 1