apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: apr/test testoc.c
Date Sat, 23 Nov 2002 22:07:42 GMT
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 @@
    * <http://www.apache.org/>.
    */
   
  -#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 <errno.h>
  +#include <stdio.h>
  +#include <stdlib.h>
  +#if APR_HAVE_UNISTD_H
  +#include <unistd.h>
  +#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;
  -}
   
  
  
  

Mime
View raw message