summaryrefslogtreecommitdiff
path: root/test/testoc.c
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2002-11-23 22:07:41 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2002-11-23 22:07:41 +0000
commit19980c7c7aa517319b7ff8ad55b4a16e463b4b4a (patch)
treeee37e34d7a5871dbe806f461de7bbb5ef0eba5d7 /test/testoc.c
parent8b970ecbb21417c44f09980b43a3704094eed14e (diff)
downloadlibapr-19980c7c7aa517319b7ff8ad55b4a16e463b4b4a.tar.gz
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
Diffstat (limited to 'test/testoc.c')
-rw-r--r--test/testoc.c28
1 files changed, 6 insertions, 22 deletions
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 @@
* <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)
@@ -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;
-}
-