Blame tests/shell/testcases/optionals/comments_handles_0

Packit c5a612
#!/bin/bash
Packit c5a612
Packit c5a612
# handles and comments mix well
Packit c5a612
Packit c5a612
$NFT add table test
Packit c5a612
$NFT add chain test test
Packit c5a612
$NFT add rule test test tcp dport 22 counter accept comment test_comment
Packit c5a612
set -e
Packit Service 1227cd
$NFT list table test -a | grep 'accept comment \"test_comment\" # handle '[[:digit:]]$ >/dev/null
Packit c5a612
$NFT list table test | grep 'accept comment \"test_comment\"' | grep -v '# handle '[[:digit:]]$ >/dev/null