]> git.proxmox.com Git - mirror_frr.git/commitdiff
debian: fix autopkgtest
authorDavid Lamparter <equinox@diac24.net>
Tue, 19 Feb 2019 13:15:19 +0000 (14:15 +0100)
committerDavid Lamparter <equinox@diac24.net>
Tue, 19 Feb 2019 20:34:10 +0000 (21:34 +0100)
pgrep is in procps, which is an essential package.  killall is in
psmisc, which isn't.

Signed-off-by: David Lamparter <equinox@diac24.net>
debian/tests/bgpd-snmp-rpki
debian/tests/py-frr-reload
debian/tests/zebra-lo

index 91e4bdda55ce83134f757abd424010ce3360ca46..930b8c26dcd5d03d5095c1160d7d907d831485c5 100755 (executable)
@@ -10,9 +10,9 @@ EOF
 service frr restart
 
 # check that it actually started
-killall -0 watchfrr
-killall -0 zebra
-killall -0 bgpd
+pgrep watchfrr
+pgrep zebra
+pgrep bgpd
 
 # just for debugging
 vtysh -c 'show modules'
index a50647a89d3799038f2fccaf76508e960d48436a..e2c97e8744e978f6ee4cfbfc7ba96567220070c5 100755 (executable)
@@ -5,9 +5,9 @@ set -e
 service frr restart
 
 # these should be running by default
-killall -0 watchfrr
-killall -0 zebra
-killall -0 staticd
+pgrep watchfrr
+pgrep zebra
+pgrep staticd
 
 # configure interactively, save to file
 vtysh -c 'configure terminal' -c 'ip route 198.51.100.0/28 127.0.0.1'
index ffd9c72adcdb2a4ec8d02a74c5407a6d4e78fac0..2a388d5da7671bc045f549f4d93d2e26cf5c21f4 100755 (executable)
@@ -5,9 +5,9 @@ set -e
 service frr status >/dev/null || service frr restart
 
 # these should be running by default
-killall -0 watchfrr
-killall -0 zebra
-killall -0 staticd
+pgrep watchfrr
+pgrep zebra
+pgrep staticd
 
 # check vtysh works at all
 vtysh -c 'show version'