summaryrefslogtreecommitdiff
path: root/test/bbackupd
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2007-12-02 22:51:59 +0000
committerChris Wilson <chris+github@qwirx.com>2007-12-02 22:51:59 +0000
commit03108275b3e189a1a4d6884cfd03012353b6fc7d (patch)
tree6ef57018d965a5fd81e5d29c9dc2131e3ad974a1 /test/bbackupd
parent79a19337f07ae8f0d55a6cb4aeafa648b1c36dd0 (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')
-rw-r--r--test/bbackupd/testbbackupd.cpp4
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;
}