aboutsummaryrefslogtreecommitdiff
path: root/src/integration-tests/test_integration_disconnect.py.in
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-06-25 07:17:55 +0000
committerChristian Grothoff <christian@grothoff.org>2012-06-25 07:17:55 +0000
commit31c11f6c1934bcef07e12055dc9d0484957bd5d5 (patch)
treecd08eae7afebfa8fd774ce61282a5c56800fed0b /src/integration-tests/test_integration_disconnect.py.in
parentbb0b87bf4c34d550f5fa1679fd25279e3921a949 (diff)
downloadgnunet-31c11f6c1934bcef07e12055dc9d0484957bd5d5.tar.gz
gnunet-31c11f6c1934bcef07e12055dc9d0484957bd5d5.zip
-LRN: fix integration tests
Diffstat (limited to 'src/integration-tests/test_integration_disconnect.py.in')
-rwxr-xr-xsrc/integration-tests/test_integration_disconnect.py.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/integration-tests/test_integration_disconnect.py.in b/src/integration-tests/test_integration_disconnect.py.in
index afeb5a968..2a863f8b2 100755
--- a/src/integration-tests/test_integration_disconnect.py.in
+++ b/src/integration-tests/test_integration_disconnect.py.in
@@ -45,14 +45,14 @@ testname = "test_integration_disconnect"
45verbose = True 45verbose = True
46check_timeout = 180 46check_timeout = 180
47 47
48if os.name == "nt":
49 tmp = os.getenv ("TEMP")
50else:
51 tmp = "/tmp"
48 52
49def cleanup (): 53def cleanup ():
50 if os.name == "nt": 54 shutil.rmtree (os.path.join (tmp, "c_bootstrap_server"), True)
51 shutil.rmtree (os.path.join (os.getenv ("TEMP"), "c_bootstrap_server"), True) 55 shutil.rmtree (os.path.join (tmp, "c_no_nat_client"), True)
52 shutil.rmtree (os.path.join (os.getenv ("TEMP"), "c_no_nat_client"), True)
53 else:
54 shutil.rmtree ("/tmp/c_bootstrap_server/", True)
55 shutil.rmtree ("/tmp/c_no_nat_client/", True)
56 56
57 57
58def success_disconnect_cont (check): 58def success_disconnect_cont (check):