Actions
Bug #9363
closedtest_http.rb and others must be run as root
Description
It seems like test/net/test_http.rb (and perhaps other network-related tests) must be run as root to test properly...or I am not seeing how to run them without using privileged ports.
We would like to use these tests in JRuby, and currently that's not possible since they bind to privileged.
If this is the case, we should fix the tests.
If this is not the case, please help me figure out how to run these tests without restricted ports.
Updated by headius (Charles Nutter) about 11 years ago
- Status changed from Open to Rejected
Sorry, ignore this. I discovered that it was a bug in JRuby's BasicSocket.for_fd logic causing it to try to bind to the fd as if it were a port.
Actions
Like0
Like0