diff options
Diffstat (limited to 'src/integration-tests/gnunet_testing.py.in')
-rw-r--r-- | src/integration-tests/gnunet_testing.py.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/integration-tests/gnunet_testing.py.in b/src/integration-tests/gnunet_testing.py.in index 76ab3b0a0..1470c3d38 100644 --- a/src/integration-tests/gnunet_testing.py.in +++ b/src/integration-tests/gnunet_testing.py.in | |||
@@ -357,7 +357,9 @@ class Peer(object): | |||
357 | if os.name == 'nt' and tests[1] == b'\n' and tests[0][-1] == b'\r': | 357 | if os.name == 'nt' and tests[1] == b'\n' and tests[0][-1] == b'\r': |
358 | tests = (tests[0][:-1], tests[1], tests[2]) | 358 | tests = (tests[0][:-1], tests[1], tests[2]) |
359 | tests = tests[0] | 359 | tests = tests[0] |
360 | print("running gnunet-statistics " + self.cfg + " for " + name + "/" + subsystem + " yields " + tests.decode("utf-8")) | ||
360 | if (tests.isdigit() == True): | 361 | if (tests.isdigit() == True): |
361 | return tests | 362 | return tests |
362 | else: | 363 | else: |
364 | print("Invalid statistics value: " + str(tests) + " is not a number!") | ||
363 | return -1 | 365 | return -1 |