diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-09-07 12:04:37 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-09-07 12:04:37 +0000 |
commit | 8480e8a58101c08e70db57b791cbfaa2683844d8 (patch) | |
tree | 7c584dc1b90d5d5480572c0ca051a708b9c39e55 /src/integration-tests/gnunet_testing.py.in | |
parent | b1b93db7f7f8dfa7bb2fe6d09fd14467b3bb247a (diff) |
changes
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: if ((False == res) and (execs >= timeout)): print ('Check had timeout after ' +str(timeout)+ ' seconds') neg_cont (self) - elif ((False == res) and (execs >= timeout)): - neg_cont (self) + elif ((False == res) and (execs < timeout)): + if (None != neg_cont): + neg_cont (self) else: - pos_cont (self) - return res + if (None != pos_cont): + pos_cont (self) + return res def run_once (self, pos_cont, neg_cont): execs = 0; res = False |