From 03108275b3e189a1a4d6884cfd03012353b6fc7d Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 2 Dec 2007 22:51:59 +0000 Subject: 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. --- test/bbackupd/testbbackupd.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/bbackupd/testbbackupd.cpp') 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; } -- cgit v1.2.3