]> git.proxmox.com Git - mirror_frr.git/blob - debian/tests/zebra-lo
debian: rework autopkgtests
[mirror_frr.git] / debian / tests / zebra-lo
1 #!/bin/sh
2 set -e
3
4 # should have been started on install, but policy may have inhibited that
5 service frr status >/dev/null || service frr restart
6
7 # these should be running by default
8 killall -0 watchfrr
9 killall -0 zebra
10 killall -0 staticd
11
12 # check vtysh works at all
13 vtysh -c 'show version'
14
15 # check zebra is properly talking to the kernel
16 vtysh -c 'show interface lo' | grep -q LOOPBACK