diff options
author | Ryan Bloom <rbb@apache.org> | 2002-12-12 04:02:10 +0000 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2002-12-12 04:02:10 +0000 |
commit | 083697f6708e5d3e365628f37c924fe63e53fb2c (patch) | |
tree | 21d9597803e6e1e94de714e59721608895b91abd /test/testpipe.c | |
parent | c3b71b247883a7651c6dac45f6de537696272c10 (diff) | |
download | apr-083697f6708e5d3e365628f37c924fe63e53fb2c.tar.gz |
Force the timeout_read of pipes to fail on Windows. This allows the test
suite to run all tests, and this test fails as it stands now.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64153 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testpipe.c')
-rw-r--r-- | test/testpipe.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/testpipe.c b/test/testpipe.c index bdd0640f8..2fb9bd94b 100644 --- a/test/testpipe.c +++ b/test/testpipe.c @@ -115,6 +115,16 @@ static void read_write(CuTest *tc) char *buf; apr_size_t nbytes; +#ifdef WIN32 + /* XXX: THIS IS A HACK + * This test currently fails on Windows, because it never returns from the file_read + * call. Because this stops the test suite from working, I am just making this fail + * automatically on Windows without running the test. When Windows gets this feature, + * this hack should be removed. + */ + CuFail(tc, "Timeouts don't work on pipes on Windows"); +#endif + nbytes = strlen("this is a test"); buf = (char *)apr_palloc(p, nbytes + 1); |