File: networks-ipv6.test

package info (click to toggle)
broctl 1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 2,220 kB
  • sloc: python: 4,931; sh: 1,188; makefile: 70; awk: 24
file content (15 lines) | stat: -rw-r--r-- 367 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Test that IPv6 networks in networks.cfg are interpreted correctly.
#
# @TEST-EXEC: bash %INPUT
# @TEST-EXEC: btest-diff out

. broctl-test-setup

while read line; do installcfgfile "$line"; done << EOF
etc/networks.cfg__ipv6
EOF

broctl install

grep -v "^#" $BROCTL_INSTALL_PREFIX/spool/installed-scripts-do-not-touch/auto/local-networks.bro | grep -v "^$" > out