Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 15693 invoked by uid 500); 23 Nov 2002 22:07:46 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 15682 invoked from network); 23 Nov 2002 22:07:46 -0000 Date: 23 Nov 2002 22:07:42 -0000 Message-ID: <20021123220742.66340.qmail@icarus.apache.org> From: rbb@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/test testoc.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N rbb 2002/11/23 14:07:42 Modified: test testoc.c Log: This shouldn't have been committed. I just started working on it. Revision Changes Path 1.26 +6 -22 apr/test/testoc.c Index: testoc.c =================================================================== RCS file: /home/cvs/apr/test/testoc.c,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- testoc.c 23 Nov 2002 22:06:15 -0000 1.25 +++ testoc.c 23 Nov 2002 22:07:41 -0000 1.26 @@ -52,12 +52,17 @@ * . */ -#include "apr_test.h" #include "apr_thread_proc.h" #include "apr_errno.h" #include "apr_general.h" #include "apr_lib.h" #include "apr_strings.h" +#include +#include +#include +#if APR_HAVE_UNISTD_H +#include +#endif #if APR_HAS_OTHER_CHILD static void ocmaint(int reason, void *data, int status) @@ -160,25 +165,4 @@ return 0; } - -#if !APR_HAS_OTHER_CHILD -static void oc_not_impl(CuTest *tc) -{ - CuNotImpl(tc, "Other child logic not implemented on this platform"); -} -#endif - -CuSuite *testoc(void) -{ - CuSuite *suite = CuSuiteNew("Test Time"); - -#if APR_HAS_OTHER_CHILD - SUITE_ADD_TEST(suite, oc_not_impl); -#else - - SUITE_ADD_TEST(suite, test_strftimeoffset); - -#endif - return suite; -}