summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/optionals/handles_1
blob: a3ae1a7febedca77f9d4d0ebbace1a8adc4acc62 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

# handles are not shown if not asked for them

$NFT add table test
$NFT add chain test test
$NFT add rule test test tcp dport 22 counter accept
$NFT list table test | grep 'accept # handle '[[:digit:]]$ >/dev/null