summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/flowtable/0005delete_in_use_1
blob: ce39e24e601d256478f59fc8f45db0bf37d23cda (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

set -e
$NFT add table x
$NFT add chain x x
$NFT add flowtable x y { hook ingress priority 0\; devices = { eth0, wlan0 }\;}
$NFT add rule x x flow offload @y
$NFT delete flowtable x y
echo "E: delete flowtable in use"