[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 02/08: unset XDG vars in test explicitly in case t
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 02/08: unset XDG vars in test explicitly in case test is run by hand |
Date: |
Tue, 19 Feb 2019 02:02:04 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
commit f53c0c9eb2a3f6a2a319d510f6ba9431e2f54925
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Feb 19 01:14:27 2019 +0100
unset XDG vars in test explicitly in case test is run by hand
---
src/integration-tests/gnunet_testing.py.in | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/integration-tests/gnunet_testing.py.in
b/src/integration-tests/gnunet_testing.py.in
index 75fffb1ab..c9342ecf0 100644
--- a/src/integration-tests/gnunet_testing.py.in
+++ b/src/integration-tests/gnunet_testing.py.in
@@ -178,7 +178,7 @@ class StatisticsCondition(Condition):
fail = ""
op = " == "
if (((self.fulfilled == False) and (failed_only == True)) or
(failed_only == False)):
- logger.debug('%s %s condition in subsystem %s: %s: (expected/real
value) %s %s %s %s', self.peer.id[:4].decode("utf-8"), peer.cfg,
self.subsystem.ljust(12), self.name.ljust(30), self.value, op, self.result,
fail)
+ logger.debug('%s %s condition in subsystem %s: %s: (expected/real
value) %s %s %s %s', self.peer.id[:4].decode("utf-8"), self.peer.cfg,
self.subsystem.ljust(12), self.name.ljust(30), self.value, op, self.result,
fail)
return self.fulfilled
@@ -272,6 +272,9 @@ class Peer(object):
return False
def start(self):
+ os.unsetenv ("XDG_CONFIG_HOME")
+ os.unsetenv ("XDG_DATA_HOME")
+ os.unsetenv ("XDG_CACHE_HOME")
self.test.p("Starting peer using cfg " + self.cfg)
try:
server = subprocess.Popen([self.test.gnunetarm, '-sq', '-c',
self.cfg])
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnunet] branch master updated (ff2452d55 -> 2caf34724), gnunet, 2019/02/18
- [GNUnet-SVN] [gnunet] 03/08: do not use rps in consensus test, gnunet, 2019/02/18
- [GNUnet-SVN] [gnunet] 01/08: extra sanity check for #5582, gnunet, 2019/02/18
- [GNUnet-SVN] [gnunet] 02/08: unset XDG vars in test explicitly in case test is run by hand,
gnunet <=
- [GNUnet-SVN] [gnunet] 04/08: fix possibility of NULL result for empty database, gnunet, 2019/02/18
- [GNUnet-SVN] [gnunet] 06/08: note about assertion actually failing, gnunet, 2019/02/18
- [GNUnet-SVN] [gnunet] 07/08: got integration tests to pass, fixes #5560, gnunet, 2019/02/18
- [GNUnet-SVN] [gnunet] 05/08: do not strictly require mq non-NULL, as peerinfo service might have died already, gnunet, 2019/02/18
- [GNUnet-SVN] [gnunet] 08/08: update ignore file, gnunet, 2019/02/18