tests/cpsv/test_cpa.c      |  2 +-
 tests/cpsv/test_cpa_util.c |  6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)


diff --git a/tests/cpsv/test_cpa.c b/tests/cpsv/test_cpa.c
--- a/tests/cpsv/test_cpa.c
+++ b/tests/cpsv/test_cpa.c
@@ -45,7 +45,7 @@ const char *saf_error_string[] = {
 #endif
 
 #define VALID_EXTENDED_NAME_LENGTH 400
-#define INVALID_EXTENDED_NAME_LENGTH 2049
+#define INVALID_EXTENDED_NAME_LENGTH 2050
 
 
 extern int gl_prev_act;
diff --git a/tests/cpsv/test_cpa_util.c b/tests/cpsv/test_cpa_util.c
--- a/tests/cpsv/test_cpa_util.c
+++ b/tests/cpsv/test_cpa_util.c
@@ -391,7 +391,7 @@ struct SafCheckpointOpen API_Open[]={
     [CKPT_OPEN_ALL_CREATE_EXTENDED_NAME_SUCCESS_T] = 
{&tcd.ckptHandle,&tcd.all_replicas_ckpt_with_valid_extended_name_length,&tcd.all_replicas,SA_CKPT_CHECKPOINT_CREATE,
                                          
APP_TIMEOUT,&tcd.all_replicas_Createhdl,SA_AIS_OK,"ckpt with ALL_REPLICAS and 
valid extended name created"},
     [CKPT_OPEN_ALL_CREATE_EXTENDED_NAME_INVALID_PARAM_T] = 
{&tcd.ckptHandle,&tcd.all_replicas_ckpt_with_invalid_extended_name_length,&tcd.all_replicas,SA_CKPT_CHECKPOINT_CREATE,
-                                         
APP_TIMEOUT,&tcd.all_replicas_Createhdl,SA_AIS_ERR_INVALID_PARAM,"ckpt with 
ALL_REPLICAS and invalid extended name created"},
+                                         
APP_TIMEOUT,&tcd.all_replicas_Createhdl,SA_AIS_ERR_TOO_BIG,"ckpt with 
ALL_REPLICAS and invalid extended name created"},
 
     /* NULL ckptHandle, */
 
@@ -560,7 +560,7 @@ struct SafCheckpointOpenAsync API_OpenAs
     [CKPT_OPEN_ASYNC_ALL_CREATE_EXTENDED_NAME_SUCCESS_T]     = 
{&tcd.ckptHandle,1021, &tcd.all_replicas_ckpt_with_valid_extended_name_length, 
&tcd.all_replicas,
                                                  
SA_CKPT_CHECKPOINT_CREATE,SA_AIS_OK,"all replicas ckpt with valid extended name 
created with invocation 1021"},
     [CKPT_OPEN_ASYNC_ALL_CREATE_EXTENDED_NAME_INVALID_PARAM_T]     = 
{&tcd.ckptHandle,0, &tcd.all_replicas_ckpt_with_invalid_extended_name_length, 
&tcd.all_replicas,
-                                                 
SA_CKPT_CHECKPOINT_CREATE,SA_AIS_ERR_INVALID_PARAM,"all replicas ckpt invalid 
with extended name created"},
+                                                 
SA_CKPT_CHECKPOINT_CREATE,SA_AIS_ERR_TOO_BIG,"all replicas ckpt invalid with 
extended name created"},
 };
 
 int test_ckptOpenAsync(int i,CONFIG_FLAG cfg_flg) 
@@ -1946,7 +1946,7 @@ struct SafCheckpointUnlink API_Unlink[]=
 
   [CKPT_UNLINK_ALL_REPLICAS_EXTENDED_NAME_SUCCESS_T] = 
{&tcd.ckptHandle,&tcd.all_replicas_ckpt_with_valid_extended_name_length,SA_AIS_OK,"Unlinked
 ckpt all replicas with extended name length"},
 
-  [CKPT_UNLINK_ALL_REPLICAS_EXTENDED_NAME_INVALID_PARAM_T] = 
{&tcd.ckptHandle,&tcd.all_replicas_ckpt_with_invalid_extended_name_length,SA_AIS_ERR_INVALID_PARAM,"Unlinked
 ckpt all replicas with invalid extended name length"},
+  [CKPT_UNLINK_ALL_REPLICAS_EXTENDED_NAME_INVALID_PARAM_T] = 
{&tcd.ckptHandle,&tcd.all_replicas_ckpt_with_invalid_extended_name_length,SA_AIS_ERR_TOO_BIG,"Unlinked
 ckpt all replicas with invalid extended name length"},
 
   #if 0
   [CKPT_UNLINK_NOT_EXIST4_T] = 
{&tcd.ckptHandle,&tcd.collocated_ckpt,SA_AIS_OK,"Unlinked ckpt collcated 
replicas"},

------------------------------------------------------------------------------
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to