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_disconnect.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_disconnect.py.in')
-rwxr-xr-x | src/integration-tests/test_integration_disconnect.py.in | 12 |
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" | |||
45 | verbose = True | 45 | verbose = True |
46 | check_timeout = 180 | 46 | check_timeout = 180 |
47 | 47 | ||
48 | if os.name == "nt": | ||
49 | tmp = os.getenv ("TEMP") | ||
50 | else: | ||
51 | tmp = "/tmp" | ||
48 | 52 | ||
49 | def cleanup (): | 53 | def 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 | ||
58 | def success_disconnect_cont (check): | 58 | def success_disconnect_cont (check): |