diff options
Diffstat (limited to 'src/integration-tests/gnunet_testing.py.in')
-rw-r--r-- | src/integration-tests/gnunet_testing.py.in | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/integration-tests/gnunet_testing.py.in b/src/integration-tests/gnunet_testing.py.in index 41e709f8c..0e3cdaaf8 100644 --- a/src/integration-tests/gnunet_testing.py.in +++ b/src/integration-tests/gnunet_testing.py.in | |||
@@ -53,11 +53,13 @@ class Check: | |||
53 | if ((False == res) and (execs >= timeout)): | 53 | if ((False == res) and (execs >= timeout)): |
54 | print ('Check had timeout after ' +str(timeout)+ ' seconds') | 54 | print ('Check had timeout after ' +str(timeout)+ ' seconds') |
55 | neg_cont (self) | 55 | neg_cont (self) |
56 | elif ((False == res) and (execs >= timeout)): | 56 | elif ((False == res) and (execs < timeout)): |
57 | neg_cont (self) | 57 | if (None != neg_cont): |
58 | neg_cont (self) | ||
58 | else: | 59 | else: |
59 | pos_cont (self) | 60 | if (None != pos_cont): |
60 | return res | 61 | pos_cont (self) |
62 | return res | ||
61 | def run_once (self, pos_cont, neg_cont): | 63 | def run_once (self, pos_cont, neg_cont): |
62 | execs = 0; | 64 | execs = 0; |
63 | res = False | 65 | res = False |