--- src/clm/apitest/tet_saClmResponse.cc | 9 +++++++++ 1 file changed, 9 insertions(+)
diff --git a/src/clm/apitest/tet_saClmResponse.cc b/src/clm/apitest/tet_saClmResponse.cc index 8ccb64e..bff8bd5 100644 --- a/src/clm/apitest/tet_saClmResponse.cc +++ b/src/clm/apitest/tet_saClmResponse.cc @@ -242,6 +242,14 @@ void saClmResponse_05() { test_validate(rc, SA_AIS_ERR_INVALID_PARAM); } +void saClmResponse_06() { + safassert(ClmTest::saClmInitialize_4(&clmHandle, nullptr, &clmVersion_4), + SA_AIS_OK); + safassert(ClmTest::saClmFinalize(clmHandle), SA_AIS_OK); + rc = ClmTest::saClmResponse_4(clmHandle, 100, SA_CLM_CALLBACK_RESPONSE_OK); + test_validate(rc, SA_AIS_ERR_BAD_HANDLE); +} + __attribute__((constructor)) static void saClmResponse_constructor() { test_suite_add(8, "Test case for saClmResponse"); @@ -251,4 +259,5 @@ __attribute__((constructor)) static void saClmResponse_constructor() { test_case_add(8, saClmResponse_04, "saClmResponse with invalid param"); test_case_add(8, saClmResponse_05, "saClmResponse with invalid param"); + test_case_add(8, saClmResponse_06, "saClmResponse with Finalized handle"); } -- 2.7.4 _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel