summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/sets/0054comments_set_0
blob: 9c8f7875fc83ae293f63891eff37a07105616719 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

set -e

# Test that comments are added to sets

$NFT add table t
$NFT add set t s {type ipv4_addr \; flags interval \; comment "test" \;}
$NFT add map t m {type ipv4_addr : ipv4_addr \; flags interval \; comment \"another test\" \;}