Debian Codegraph @

tests/shell/testcases/cache/0007_echo_cache_init_0

raw
1 #!/bin/bash
2
3 set -e
4
5 $NFT -i >/dev/null <<EOF
6 add table inet t
7 add chain inet t c
8 add rule inet t c accept comment "first"
9 add rule inet t c accept comment "third"
10 EOF
11
12 # make sure the rule cache gets initialized when using echo option
13 #
14 $NFT --echo add rule inet t c index 0 accept comment '"second"' >/dev/null