--- src/lck/apitest/tet_gla.c | 8 ++++++++ src/lck/apitest/tet_glsv.h | 1 + src/lck/apitest/tet_glsv_util.c | 5 ++++- 3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/src/lck/apitest/tet_gla.c b/src/lck/apitest/tet_gla.c index 7180455..f9e9788 100644 --- a/src/lck/apitest/tet_gla.c +++ b/src/lck/apitest/tet_gla.c @@ -322,6 +322,14 @@ void glsv_it_init_10() glsv_result(result); } +void glsv_it_init_11() +{ + int result; + result = + tet_test_lckInitialize(LCK_INIT_NULL_PARAMS_T, TEST_NONCONFIG_MODE); + glsv_result(result); +} + /*********** saLckSelectionObjectGet Api Tests ************/ void glsv_it_selobj_01() diff --git a/src/lck/apitest/tet_glsv.h b/src/lck/apitest/tet_glsv.h index 1f43d45..325bb5c 100644 --- a/src/lck/apitest/tet_glsv.h +++ b/src/lck/apitest/tet_glsv.h @@ -409,6 +409,7 @@ void glsv_it_init_07(void); void glsv_it_init_08(void); void glsv_it_init_09(void); void glsv_it_init_10(void); +void glsv_it_init_11(void); void glsv_it_selobj_01(void); void glsv_it_selobj_02(void); void glsv_it_selobj_03(void); diff --git a/src/lck/apitest/tet_glsv_util.c b/src/lck/apitest/tet_glsv_util.c index 3a7fac3..e254c69 100644 --- a/src/lck/apitest/tet_glsv_util.c +++ b/src/lck/apitest/tet_glsv_util.c @@ -46,6 +46,7 @@ struct tet_testlist glsv_onenode_testlist[] = { {glsv_it_init_08, 8}, {glsv_it_init_09, 9}, {glsv_it_init_10, 10}, + {glsv_it_init_11, 160}, {glsv_it_selobj_01, 11}, {glsv_it_selobj_02, 12}, @@ -246,6 +247,7 @@ struct tet_testlist tet_testlist[] = {{glsv_it_init_01, 1}, {glsv_it_init_08, 8}, {glsv_it_init_09, 9}, {glsv_it_init_10, 10}, + {glsv_it_init_11, 160}, {glsv_it_selobj_01, 11}, {glsv_it_selobj_02, 12}, @@ -502,7 +504,8 @@ __attribute__((constructor)) static void glsv_constructor(void) "saLckInitialize returns supported version when called with invalid version"); test_case_add(1, glsv_it_init_10, "saLckInitialize without registering any callback"); - + test_case_add(1, glsv_it_init_11, + "saLckInitialize with Null lock handle,callbacks and version"); test_suite_add(2, "saLckSelectionObjectGet Test Suite"); test_case_add(2, -- 2.7.4 _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel