From 19980c7c7aa517319b7ff8ad55b4a16e463b4b4a Mon Sep 17 00:00:00 2001 From: rbb Date: Sat, 23 Nov 2002 22:07:41 +0000 Subject: This shouldn't have been committed. I just started working on it. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64073 13f79535-47bb-0310-9956-ffa450edef68 --- test/testoc.c | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) (limited to 'test/testoc.c') diff --git a/test/testoc.c b/test/testoc.c index 184a9ed15..e5254533d 100644 --- a/test/testoc.c +++ b/test/testoc.c @@ -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) @@ -161,24 +166,3 @@ int main(int argc, char *argv[]) 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; -} - -- cgit v1.2.1