From: Matthias Wachs Date: Thu, 15 Dec 2011 14:21:40 +0000 (+0000) Subject: peer get automatically stopped X-Git-Tag: initial-import-from-subversion-38251~15632 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=925dc06e51ac0970b69903b7a29a037c7c370d9f;p=oweals%2Fgnunet.git peer get automatically stopped --- diff --git a/src/integration-tests/gnunet_testing.py.in b/src/integration-tests/gnunet_testing.py.in index 18fc7a249..404d5db4e 100644 --- a/src/integration-tests/gnunet_testing.py.in +++ b/src/integration-tests/gnunet_testing.py.in @@ -56,6 +56,12 @@ class Peer: self.test = test self.started = False self.cfg = cfg_file + def __del__(self): + if (self.started == True): + print 'ERROR! Peer using cfg ' + self.cfg + ' was not stopped' + self.started == False + if (False == self.stop ()): + print 'ERROR! Peer using cfg ' + self.cfg + ' could not be stopped' def start (self): self.test.p ("Starting peer using cfg " + self.cfg) try: