Debian Codegraph @

tests/shell/testcases/flowtable/0005delete_in_use_1

raw
1 #!/bin/bash
2
3 set -e
4 $NFT add table x
5 $NFT add chain x x
6 $NFT add flowtable x y { hook ingress priority 0\; devices = { lo }\;}
7 $NFT add rule x x flow add @y
8
9 $NFT delete flowtable x y || exit 0
10 echo "E: delete flowtable in use"
11 exit 1