[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: test_gnunet_statistics.py:
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: test_gnunet_statistics.py: use new locations of TMP |
Date: |
Sun, 06 May 2018 23:41:14 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 0623c0322 test_gnunet_statistics.py: use new locations of TMP
0623c0322 is described below
commit 0623c03225a8122a4338cc9b1f0483ded77df5b8
Author: Nils Gillmann <address@hidden>
AuthorDate: Sun May 6 21:41:36 2018 +0000
test_gnunet_statistics.py: use new locations of TMP
Signed-off-by: Nils Gillmann <address@hidden>
---
src/statistics/test_gnunet_statistics.py.in | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/statistics/test_gnunet_statistics.py.in
b/src/statistics/test_gnunet_statistics.py.in
index 86d0258f4..8f6966b6f 100644
--- a/src/statistics/test_gnunet_statistics.py.in
+++ b/src/statistics/test_gnunet_statistics.py.in
@@ -9,8 +9,12 @@ import time
if os.name == "nt":
tmp = os.getenv ("TEMP")
+elif os.environ["TMPDIR"]:
+ tmp = os.getenv("TMPDIR")
+elif os.environ["TMP"]:
+ tmp = os.getenv("TMP")
else:
- tmp = "/tmp"
+ tmp = "/tmp"
if os.name == 'nt':
st = './gnunet-statistics.exe'
@@ -26,7 +30,7 @@ if debug:
run_arm += [debug.split (' ')]
def cleanup ():
- shutil.rmtree (os.path.join (tmp, "test-gnunet-statistics"), True)
+ shutil.rmtree (os.path.join (tmp, "gnunet/test-gnunet-statistics"), True)
def sub_run (args, want_stdo = True, want_stde = False, nofail = False):
if want_stdo:
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: test_gnunet_statistics.py: use new locations of TMP,
gnunet <=