diff options
author | Martin Willi <martin@strongswan.org> | 2005-11-28 20:29:47 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2005-11-28 20:29:47 +0000 |
commit | d048df5cabd2d17713230f260bccebb205740498 (patch) | |
tree | 5c08427945e6a94421e84deada90aac2065fde18 /Source/charon/testcases/ike_sa_manager_test.c | |
parent | 3fe058703ffe537dfdf68b9ad4d9143644230321 (diff) | |
download | strongswan-d048df5cabd2d17713230f260bccebb205740498.tar.bz2 strongswan-d048df5cabd2d17713230f260bccebb205740498.tar.xz |
- return value cleanup
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++) { |