diff options
Diffstat (limited to 'Source/charon/testcases/ike_sa_manager_test.c')
-rw-r--r-- | Source/charon/testcases/ike_sa_manager_test.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/charon/testcases/ike_sa_manager_test.c b/Source/charon/testcases/ike_sa_manager_test.c index f49779159..733665f4f 100644 --- a/Source/charon/testcases/ike_sa_manager_test.c +++ b/Source/charon/testcases/ike_sa_manager_test.c @@ -95,8 +95,7 @@ void test_ike_sa_manager(tester_t *tester) * */ - status = td.isam->create_and_checkout(td.isam, &ike_sa); - tester->assert_true(tester, (status == SUCCESS), "checkout unexisting IKE_SA"); + td.isam->create_and_checkout(td.isam, &ike_sa); /* for testing purposes, we manipulate the responder spi. * this is usually done be the response from the communication partner, * but we don't have one... @@ -212,8 +211,7 @@ void test_ike_sa_manager(tester_t *tester) /* let them go acquiring */ sleep(1); - status = td.isam->destroy(td.isam); - tester->assert_true(tester, (status == SUCCESS), "ike_sa_manager destruction"); + td.isam->destroy(td.isam); for (i = 0; i < thread_count; i++) { |