From 57b0cdd65e52fa0cadc4398639f4972a16d87695 Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Wed, 7 Jul 2004 22:02:05 +0000 Subject: [PATCH] Run full tests instead of writing a bunch of checkpoints. (Logical change 1.24) git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@68 fd59a12c-fef9-0310-b244-a6a79926bd2f --- test/testckpt.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/testckpt.c b/test/testckpt.c index ff5a89b4..0b4df43e 100644 --- a/test/testckpt.c +++ b/test/testckpt.c @@ -169,6 +169,7 @@ printf ("create1 error is %d\n", error); strlen ("Initial Data #0") + 1); printf ("create2 error is %d\n", error); printf ("saCkptSectionCreate result %d (should be 1)\n", error); +#ifdef cmpout for (ckptinv = 0; ckptinv < 500000; ckptinv++) { printf ("Writing checkpoint loop %d\n", ckptinv); /* @@ -184,6 +185,7 @@ if (error != SA_OK) { } } exit (1); +#endif error = saCkptCheckpointUnlink (&checkpointName); printf ("unlink result %d (should be 1)\n", error); @@ -287,6 +289,7 @@ exit (1); printf (" buffer #2: '%s'\n", readBuffer2); //sleep (20); +#ifdef COMPILE_OUT for (ckptinv = 0; ckptinv < 2000; ckptinv++) { /* * Test checkpoint write @@ -302,6 +305,7 @@ exit (1); } } exit (1); +#endif error = saCkptCheckpointRead (&checkpointHandle, ReadVectorElements, 2,