From 0458d9c7345793f50468762fd6fcf53bead0f071 Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Sat, 22 Jan 2005 20:55:47 +0000 Subject: [PATCH] enable some testing code. (Logical change 1.117) git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@418 fd59a12c-fef9-0310-b244-a6a79926bd2f --- test/testckpt.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/testckpt.c b/test/testckpt.c index 4a56e32a..3506a4c8 100644 --- a/test/testckpt.c +++ b/test/testckpt.c @@ -171,6 +171,11 @@ int main (void) { §ionCreationAttributes1, "Initial Data #0", strlen ("Initial Data #0") + 1); + if (error != SA_OK) { + error = saCkptSectionExpirationTimeSet (&checkpointHandle, + §ionId1, + 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, §ionCreationAttributes2,