enable some testing code.

(Logical change 1.117)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@418 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Steven Dake 2005-01-22 20:55:47 +00:00
parent e883314a18
commit 0458d9c734

View File

@ -171,6 +171,11 @@ int main (void) {
&sectionCreationAttributes1,
"Initial Data #0",
strlen ("Initial Data #0") + 1);
if (error != SA_OK) {
error = saCkptSectionExpirationTimeSet (&checkpointHandle,
&sectionId1,
sectionCreationAttributes1.expirationTime);
}
printf ("create1 error is %d\n", error);
printf ("Please wait, testing expiry of checkpoint sections.\n");
@ -187,7 +192,6 @@ printf ("Please wait, testing expiry of checkpoint sections.\n");
error = saCkptCheckpointRetentionDurationSet (&checkpointHandle,
5000000000LL);
printf ("RetentionDurationSet is %d\n", error);
exit (1);
error = saCkptSectionCreate (&checkpointHandle,
&sectionCreationAttributes2,