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

-- 
Jesse Glick   <mailto:[EMAIL PROTECTED]>
NetBeans, Open APIs  <http://www.netbeans.org/>
tel (+4202) 3300-9161 Sun Micro x49161 Praha CR

Reply via email to