diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-25 07:17:55 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-25 07:17:55 +0000 |
commit | 31c11f6c1934bcef07e12055dc9d0484957bd5d5 (patch) | |
tree | cd08eae7afebfa8fd774ce61282a5c56800fed0b /src/integration-tests/test_integration_bootstrap_and_connect.py.in | |
parent | bb0b87bf4c34d550f5fa1679fd25279e3921a949 (diff) | |
download | gnunet-31c11f6c1934bcef07e12055dc9d0484957bd5d5.tar.gz gnunet-31c11f6c1934bcef07e12055dc9d0484957bd5d5.zip |
-LRN: fix integration tests
Diffstat (limited to 'src/integration-tests/test_integration_bootstrap_and_connect.py.in')
-rwxr-xr-x | src/integration-tests/test_integration_bootstrap_and_connect.py.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/integration-tests/test_integration_bootstrap_and_connect.py.in b/src/integration-tests/test_integration_bootstrap_and_connect.py.in index 0b29b460d..cd3bdbef8 100755 --- a/src/integration-tests/test_integration_bootstrap_and_connect.py.in +++ b/src/integration-tests/test_integration_bootstrap_and_connect.py.in | |||
@@ -51,14 +51,14 @@ testname = "test_integration_bootstrap_and_connect" | |||
51 | verbose = True | 51 | verbose = True |
52 | check_timeout = 180 | 52 | check_timeout = 180 |
53 | 53 | ||
54 | if os.name == "nt": | ||
55 | tmp = os.getenv ("TEMP") | ||
56 | else: | ||
57 | tmp = "/tmp" | ||
54 | 58 | ||
55 | def cleanup (): | 59 | def 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 | ||
63 | def success_cont (check): | 63 | def success_cont (check): |
64 | global success | 64 | global success |