diff options
Diffstat (limited to 'src/integration-tests/gnunet_testing.py.in')
-rw-r--r-- | src/integration-tests/gnunet_testing.py.in | 5 |
1 files changed, 4 insertions, 1 deletions
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): | |||
178 | fail = "" | 178 | fail = "" |
179 | op = " == " | 179 | op = " == " |
180 | if (((self.fulfilled == False) and (failed_only == True)) or (failed_only == False)): | 180 | if (((self.fulfilled == False) and (failed_only == True)) or (failed_only == False)): |
181 | 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) | 181 | 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) |
182 | return self.fulfilled | 182 | return self.fulfilled |
183 | 183 | ||
184 | 184 | ||
@@ -272,6 +272,9 @@ class Peer(object): | |||
272 | return False | 272 | return False |
273 | 273 | ||
274 | def start(self): | 274 | def start(self): |
275 | os.unsetenv ("XDG_CONFIG_HOME") | ||
276 | os.unsetenv ("XDG_DATA_HOME") | ||
277 | os.unsetenv ("XDG_CACHE_HOME") | ||
275 | self.test.p("Starting peer using cfg " + self.cfg) | 278 | self.test.p("Starting peer using cfg " + self.cfg) |
276 | try: | 279 | try: |
277 | server = subprocess.Popen([self.test.gnunetarm, '-sq', '-c', self.cfg]) | 280 | server = subprocess.Popen([self.test.gnunetarm, '-sq', '-c', self.cfg]) |