blob: 93a73f0d2fa2cb742eade4d66f87d253eeb933b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
# Test that comments are added to sets
$NFT add table t
$NFT add set t s {type ipv4_addr \; flags interval \; comment "test" \;}
if ! $NFT list ruleset | grep test >/dev/null ; then
echo "E: missing comment in set" >&2
exit 1
fi
|