aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-12-15 14:21:40 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-12-15 14:21:40 +0000
commit925dc06e51ac0970b69903b7a29a037c7c370d9f (patch)
tree3eefd829eca67ef6089f9a6d09e3f029b45d3e3a /src
parent1589e5a5b084a507a782e450e2d2bb4d3dba23fc (diff)
downloadgnunet-925dc06e51ac0970b69903b7a29a037c7c370d9f.tar.gz
gnunet-925dc06e51ac0970b69903b7a29a037c7c370d9f.zip
peer get automatically stopped
Diffstat (limited to 'src')
-rw-r--r--src/integration-tests/gnunet_testing.py.in6
1 files changed, 6 insertions, 0 deletions
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:
56 self.test = test 56 self.test = test
57 self.started = False 57 self.started = False
58 self.cfg = cfg_file 58 self.cfg = cfg_file
59 def __del__(self):
60 if (self.started == True):
61 print 'ERROR! Peer using cfg ' + self.cfg + ' was not stopped'
62 self.started == False
63 if (False == self.stop ()):
64 print 'ERROR! Peer using cfg ' + self.cfg + ' could not be stopped'
59 def start (self): 65 def start (self):
60 self.test.p ("Starting peer using cfg " + self.cfg) 66 self.test.p ("Starting peer using cfg " + self.cfg)
61 try: 67 try: