ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Glick <>
Subject get.xml junit test is impolite
Date Thu, 25 Jan 2001 12:32:06 GMT
When I try to run the JUnit tests, I get a failure in get.xml (test for
<get>): test6 fails (cannot open socket). This should be expected: I am
running no HTTP server! test5 gets the expected exception, and then it
continues on to test6 which cannot work. I am guessing this is an
oversight in the test suite.

Of course, you can work around it the hard way:

1. su
2. nc -l -p 80
3. Wait for request
4. Send "HTTP/1.0 200 OK\n\n" and EOF
5. Test passes


Jesse Glick   <>
NetBeans, Open APIs  <>
tel (+4202) 3300-9161 Sun Micro x49161 Praha CR

View raw message