summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lib/gobgp.py4
-rw-r--r--test/lib/quagga.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/lib/gobgp.py b/test/lib/gobgp.py
index bff284d1..9dbb4b90 100644
--- a/test/lib/gobgp.py
+++ b/test/lib/gobgp.py
@@ -572,8 +572,8 @@ class GoBGPContainer(BGPContainer):
def reload_config(self):
for daemon in self._get_enabled_quagga_daemons():
- self.local('pkill {0} -SIGHUP'.format(daemon), capture=True)
- self.local('pkill gobgpd -SIGHUP', capture=True)
+ self.local('pkill -SIGHUP {0}'.format(daemon), capture=True)
+ self.local('pkill -SIGHUP gobgpd', capture=True)
self._wait_for_boot()
def add_route(self, route, rf='ipv4', attribute=None, aspath=None,
diff --git a/test/lib/quagga.py b/test/lib/quagga.py
index f0981a23..4f24c784 100644
--- a/test/lib/quagga.py
+++ b/test/lib/quagga.py
@@ -273,7 +273,7 @@ class QuaggaBGPContainer(BGPContainer):
def reload_config(self):
for daemon in self._get_enabled_daemons():
- self.local('pkill {0} -SIGHUP'.format(daemon), capture=True)
+ self.local('pkill -SIGHUP {0}'.format(daemon), capture=True)
self._wait_for_boot()
def _vtysh_add_route_map(self, path):