|
@@ -304,6 +304,13 @@ printf ("Please wait, testing expiry of checkpoint sections.\n");
|
|
|
printf ("%s: replacing deleted checkpoint section\n",
|
|
printf ("%s: replacing deleted checkpoint section\n",
|
|
|
get_test_output (error, SA_AIS_OK));
|
|
get_test_output (error, SA_AIS_OK));
|
|
|
|
|
|
|
|
|
|
+ error = saCkptSectionCreate (checkpointHandle,
|
|
|
|
|
+ §ionCreationAttributes2,
|
|
|
|
|
+ "Initial Data #2",
|
|
|
|
|
+ strlen ("Initial Data #2") + 1);
|
|
|
|
|
+ printf ("%s: creating section 2 \n",
|
|
|
|
|
+ get_test_output (error, SA_AIS_OK));
|
|
|
|
|
+
|
|
|
error = saCkptSectionExpirationTimeSet (checkpointHandle,
|
|
error = saCkptSectionExpirationTimeSet (checkpointHandle,
|
|
|
§ionId2,
|
|
§ionId2,
|
|
|
SA_TIME_END);
|
|
SA_TIME_END);
|
|
@@ -322,12 +329,6 @@ printf ("Please wait, testing expiry of checkpoint sections.\n");
|
|
|
*/
|
|
*/
|
|
|
memset (readBuffer1, 0, sizeof (readBuffer1));
|
|
memset (readBuffer1, 0, sizeof (readBuffer1));
|
|
|
memset (readBuffer2, 0, sizeof (readBuffer2));
|
|
memset (readBuffer2, 0, sizeof (readBuffer2));
|
|
|
- error = saCkptSectionCreate (checkpointHandle,
|
|
|
|
|
- §ionCreationAttributes2,
|
|
|
|
|
- "Initial Data #2",
|
|
|
|
|
- strlen ("Initial Data #2") + 1);
|
|
|
|
|
- printf ("%s: creating checkpoint for read test\n",
|
|
|
|
|
- get_test_output (error, SA_AIS_OK));
|
|
|
|
|
|
|
|
|
|
error = saCkptCheckpointRead (checkpointHandle,
|
|
error = saCkptCheckpointRead (checkpointHandle,
|
|
|
ReadVectorElements,
|
|
ReadVectorElements,
|