summaryrefslogtreecommitdiffhomepage
path: root/test/lib/quagga.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/quagga.py')
-rw-r--r--test/lib/quagga.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/lib/quagga.py b/test/lib/quagga.py
index 924a3a82..3cab7447 100644
--- a/test/lib/quagga.py
+++ b/test/lib/quagga.py
@@ -262,9 +262,4 @@ class QuaggaBGPContainer(BGPContainer):
daemon.append('zebra')
for d in daemon:
cmd = '/usr/bin/pkill {0} -SIGHUP'.format(d)
- m = self.local(cmd, capture=True)
- return_code = getattr(m, 'return_code')
- if return_code != 0:
- errmsg = "ret_code:%s, stdout:%s, stderr:%s" % (return_code, getattr(m, 'stdout'), getattr(m, 'stderr'))
- raise Exception('reload_config error. errmsg: %s' % errmsg)
-
+ self.local(cmd, capture=True)