aboutsummaryrefslogtreecommitdiff
path: root/src/integration-tests/test_integration_clique.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/integration-tests/test_integration_clique.py.in')
-rwxr-xr-xsrc/integration-tests/test_integration_clique.py.in15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/integration-tests/test_integration_clique.py.in b/src/integration-tests/test_integration_clique.py.in
index 7c3fdd8a9..6c7a5d770 100755
--- a/src/integration-tests/test_integration_clique.py.in
+++ b/src/integration-tests/test_integration_clique.py.in
@@ -36,6 +36,10 @@ from gnunet_testing import Check
36from gnunet_testing import Condition 36from gnunet_testing import Condition
37from gnunet_testing import * 37from gnunet_testing import *
38 38
39if os.name == "nt":
40 tmp = os.getenv ("TEMP")
41else:
42 tmp = "/tmp"
39 43
40#definitions 44#definitions
41 45
@@ -45,14 +49,9 @@ check_timeout = 180
45 49
46 50
47def cleanup (): 51def cleanup ():
48 if os.name == "nt": 52 shutil.rmtree (os.path.join (tmp, "c_bootstrap_server"), True)
49 shutil.rmtree (os.path.join (os.getenv ("TEMP"), "gnunet-test-fs-py-ns"), True) 53 shutil.rmtree (os.path.join (tmp, "c_no_nat_client"), True)
50 shutil.rmtree (os.path.join (os.getenv ("TEMP"), "c_no_nat_client"), True) 54 shutil.rmtree (os.path.join (tmp, "c_no_nat_client_2"), True)
51 shutil.rmtree (os.path.join (os.getenv ("TEMP"), "c_no_nat_client_2"), True)
52 else:
53 shutil.rmtree ("/tmp/c_bootstrap_server/", True)
54 shutil.rmtree ("/tmp/c_no_nat_client/", True)
55 shutil.rmtree ("/tmp/c_no_nat_client_2/", True)
56 55
57 56
58def success_cont (check): 57def success_cont (check):