diff options
Diffstat (limited to 'test/testfile.c')
-rw-r--r-- | test/testfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testfile.c b/test/testfile.c index 942805788..e8426a7f1 100644 --- a/test/testfile.c +++ b/test/testfile.c @@ -155,9 +155,9 @@ int main(void) apr_poll_socket_add(sdset, testsock, APR_POLLIN); num = 1; STD_TEST_NEQ(" Checking for incoming data", - apr_poll(sdset, &num, -1)) + apr_poll(sdset, &num, 1 * APR_USEC_PER_SEC)) if (num == 0) { - MSG_AND_EXIT("I should not return until num == 1\n") + printf("** This platform doesn't return readability on a regular file.**\n"); } printf(" End of files as sockets test.\n"); #endif |