aboutsummaryrefslogtreecommitdiff
path: root/src/integration-tests/test_integration_bootstrap_and_connect_and_disconnect_nat.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/integration-tests/test_integration_bootstrap_and_connect_and_disconnect_nat.py.in')
-rwxr-xr-xsrc/integration-tests/test_integration_bootstrap_and_connect_and_disconnect_nat.py.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/integration-tests/test_integration_bootstrap_and_connect_and_disconnect_nat.py.in b/src/integration-tests/test_integration_bootstrap_and_connect_and_disconnect_nat.py.in
index 3269f4dc4..55982c2e4 100755
--- a/src/integration-tests/test_integration_bootstrap_and_connect_and_disconnect_nat.py.in
+++ b/src/integration-tests/test_integration_bootstrap_and_connect_and_disconnect_nat.py.in
@@ -51,14 +51,14 @@ testname = "test_integration_bootstrap_and_connect"
51verbose = True 51verbose = True
52check_timeout = 180 52check_timeout = 180
53 53
54if os.name == "nt":
55 tmp = os.getenv ("TEMP")
56else:
57 tmp = "/tmp"
54 58
55def cleanup (): 59def cleanup ():
56 if os.name == "nt": 60 shutil.rmtree (os.path.join (tmp, "c_bootstrap_server"), True)
57 shutil.rmtree (os.path.join (os.getenv ("TEMP"), "gnunet-test-fs-py-ns"), True) 61 shutil.rmtree (os.path.join (tmp, "c_no_nat_client"), True)
58 shutil.rmtree (os.path.join (os.getenv ("TEMP"), "c_no_nat_client"), True)
59 else:
60 shutil.rmtree ("/tmp/c_bootstrap_server/", True)
61 shutil.rmtree ("/tmp/c_no_nat_client/", True)
62 62
63def success_server_stop_cont (check): 63def success_server_stop_cont (check):
64 global success 64 global success