summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormturk <mturk@13f79535-47bb-0310-9956-ffa450edef68>2008-04-13 11:37:52 +0000
committermturk <mturk@13f79535-47bb-0310-9956-ffa450edef68>2008-04-13 11:37:52 +0000
commit2c2a3448c12a925a6463e74324a32d14ffab2a87 (patch)
tree60e692f887ba4ac989ae8a57e59d610e94eb6e82 /test
parent88eb75b5d2cfd499bcea9432ecda8ca4e95fcf7b (diff)
downloadlibapr-2c2a3448c12a925a6463e74324a32d14ffab2a87.tar.gz
Revert r47540
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@647562 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r--test/testpoll.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/test/testpoll.c b/test/testpoll.c
index a0f56a149..e7792c2f1 100644
--- a/test/testpoll.c
+++ b/test/testpoll.c
@@ -659,22 +659,6 @@ static void timeout_pollin_pollcb(abts_case *tc, void *data)
ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
}
-static void test_wakeup(abts_case *tc, void *data)
-{
- apr_status_t rv;
- int i, lrv;
- const apr_pollfd_t *descs = NULL;
-
- for (i = 0; i < 1000; i++) {
- rv = apr_pollset_wakeup(pollset);
- ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
- }
- rv = apr_pollset_poll(pollset, 0, &lrv, &descs);
- ABTS_INT_EQUAL(tc, 1, APR_STATUS_IS_EINTR(rv));
- ABTS_INT_EQUAL(tc, 0, lrv);
- ABTS_PTR_EQUAL(tc, NULL, descs);
-}
-
abts_suite *testpoll(abts_suite *suite)
{
suite = ADD_SUITE(suite)
@@ -704,7 +688,6 @@ abts_suite *testpoll(abts_suite *suite)
abts_run_test(suite, clear_middle_pollset, NULL);
abts_run_test(suite, send_last_pollset, NULL);
abts_run_test(suite, clear_last_pollset, NULL);
- abts_run_test(suite, test_wakeup, NULL);
abts_run_test(suite, pollset_remove, NULL);