diff options
author | Chris Wilson <chris+github@qwirx.com> | 2007-12-02 22:51:59 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2007-12-02 22:51:59 +0000 |
commit | 03108275b3e189a1a4d6884cfd03012353b6fc7d (patch) | |
tree | 6ef57018d965a5fd81e5d29c9dc2131e3ad974a1 /test/bbackupd/testbbackupd.cpp | |
parent | 79a19337f07ae8f0d55a6cb4aeafa648b1c36dd0 (diff) |
Re-initialise the timers when aborting test run during SSL KeepAlive
tests, as main() will try to clean them up and we'll get an error
message if they're not initialised.
Diffstat (limited to 'test/bbackupd/testbbackupd.cpp')
-rw-r--r-- | test/bbackupd/testbbackupd.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/bbackupd/testbbackupd.cpp b/test/bbackupd/testbbackupd.cpp index b9201894..3b337fdb 100644 --- a/test/bbackupd/testbbackupd.cpp +++ b/test/bbackupd/testbbackupd.cpp @@ -887,6 +887,7 @@ int test_bbackupd() if (failures > 0) { // stop early to make debugging easier + Timers::Init(); return 1; } @@ -952,6 +953,7 @@ int test_bbackupd() if (failures > 0) { // stop early to make debugging easier + Timers::Init(); return 1; } @@ -1030,6 +1032,7 @@ int test_bbackupd() if (failures > 0) { // stop early to make debugging easier + Timers::Init(); return 1; } @@ -1108,6 +1111,7 @@ int test_bbackupd() if (failures > 0) { // stop early to make debugging easier + Timers::Init(); return 1; } |