summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-02-19 14:15:19 +0100
committerDavid Lamparter <equinox@diac24.net>2019-02-19 14:15:19 +0100
commit0189e6d73cdbabf2b320b40248d75db1791d7424 (patch)
tree6ebcc98d13a951eee8b5323544a7f70276f7e6f2
parent03032bf26e0e2fe6a2b39a3bc326fbb2ff3a5703 (diff)
debian: fix autopkgtest
pgrep is in procps, which is an essential package. killall is in psmisc, which isn't. Signed-off-by: David Lamparter <equinox@diac24.net>
-rwxr-xr-xdebian/tests/bgpd-snmp-rpki6
-rwxr-xr-xdebian/tests/py-frr-reload6
-rwxr-xr-xdebian/tests/zebra-lo6
3 files changed, 9 insertions, 9 deletions
diff --git a/debian/tests/bgpd-snmp-rpki b/debian/tests/bgpd-snmp-rpki
index 91e4bdda55..930b8c26dc 100755
--- a/debian/tests/bgpd-snmp-rpki
+++ b/debian/tests/bgpd-snmp-rpki
@@ -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'
diff --git a/debian/tests/py-frr-reload b/debian/tests/py-frr-reload
index a50647a89d..e2c97e8744 100755
--- a/debian/tests/py-frr-reload
+++ b/debian/tests/py-frr-reload
@@ -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'
diff --git a/debian/tests/zebra-lo b/debian/tests/zebra-lo
index ffd9c72adc..2a388d5da7 100755
--- a/debian/tests/zebra-lo
+++ b/debian/tests/zebra-lo
@@ -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'