diff options
author | Chris Wilson <qris@users.noreply.github.com> | 2017-10-17 20:03:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-17 20:03:13 +0100 |
commit | 24aca3fc618e36e2feb448bd7b5c05b31a064bd3 (patch) | |
tree | b0ae4a2304e386aef4ef031b9d565116e0fa7f02 /test | |
parent | b1f564266c64b48b99cce410e33d8287bf444d2a (diff) | |
parent | a631c82882b039f8467a2ef9abeb343f2ec5b3da (diff) |
Merge pull request #19 from boxbackup/bbstored_certs
Fix parsing of OpenSSL 1.1 output in bbstored-certs. Fixes #18. Thanks to Dean Hamstead (@djzort on GitHub) for the bug report and the patch!
Diffstat (limited to 'test')
-rw-r--r-- | test/common/testcommon.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/test/common/testcommon.cpp b/test/common/testcommon.cpp index bd75ac37..bcfc92e1 100644 --- a/test/common/testcommon.cpp +++ b/test/common/testcommon.cpp @@ -312,14 +312,8 @@ int test(int argc, const char *argv[]) // Check that using timer methods without initialisation // throws an assertion failure. Can only do this in debug mode #ifndef BOX_RELEASE_BUILD - TEST_CHECK_THROWS(Timers::Add(*(Timer*)NULL), - CommonException, AssertFailed); - TEST_CHECK_THROWS(Timers::Remove(*(Timer*)NULL), - CommonException, AssertFailed); - #endif - - // TEST_CHECK_THROWS(Timers::Signal(), CommonException, AssertFailed); - #ifndef BOX_RELEASE_BUILD + TEST_CHECK_THROWS(Timer t1(900, "t1"), CommonException, + AssertFailed); TEST_CHECK_THROWS(Timers::Cleanup(), CommonException, AssertFailed); #endif |