aboutsummaryrefslogtreecommitdiff
path: root/src/integration-tests/test_integration_disconnect.py.in
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-12-16 13:43:06 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-12-16 13:43:06 +0000
commit5a8f88e1745a184039f07382c4b1c757011ca4be (patch)
tree6cfe2a3ab532a45a6372d86d877d8ab66cff331a /src/integration-tests/test_integration_disconnect.py.in
parent4997b98b69d53d14085f0da4d7d4b002f3d59100 (diff)
downloadgnunet-5a8f88e1745a184039f07382c4b1c757011ca4be.tar.gz
gnunet-5a8f88e1745a184039f07382c4b1c757011ca4be.zip
Diffstat (limited to 'src/integration-tests/test_integration_disconnect.py.in')
-rwxr-xr-xsrc/integration-tests/test_integration_disconnect.py.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/integration-tests/test_integration_disconnect.py.in b/src/integration-tests/test_integration_disconnect.py.in
index f708aee1d..d055b6907 100755
--- a/src/integration-tests/test_integration_disconnect.py.in
+++ b/src/integration-tests/test_integration_disconnect.py.in
@@ -109,14 +109,11 @@ def check_connect ():
109# Test execution 109# Test execution
110# 110#
111 111
112#
113# Test execution
114#
115def run (): 112def run ():
113 global success
116 global test 114 global test
117 global server 115 global server
118 global client 116 global client
119 global success
120 117
121 success = False 118 success = False
122 119
@@ -152,5 +149,8 @@ except (KeyboardInterrupt, SystemExit):
152 server.stop () 149 server.stop ()
153 client.stop () 150 client.stop ()
154 cleanup () 151 cleanup ()
155sys.exit(success) 152if (success == False):
153 sys.exit(1)
154else:
155 sys.exit(0)
156 \ No newline at end of file 156 \ No newline at end of file