Bugs item #10191, was opened at 2007-04-18 13:12
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=10191&group_id=426

Category: Standard Library
Group: 1.8.6
Status: Open
Resolution: None
Priority: 3
Submitted By: Michal Suchanek (hramrach)
Assigned to: Nobody (None)
Summary: test_cgi failure on OS X

Initial Comment:
make check fails for me on OS X.

  1) Failure:
test_cgi(TestWEBrickCGI)
    [./test/webrick/test_cgi.rb:27:in `test_cgi'
     /Users/hramrach/ruby-1.8.6/lib/net/http.rb:1050:in `request'
     /Users/hramrach/ruby-1.8.6/lib/net/http.rb:2133:in `reading_body'
     /Users/hramrach/ruby-1.8.6/lib/net/http.rb:1049:in `request'
     /Users/hramrach/ruby-1.8.6/lib/net/http.rb:1034:in `request'
     /Users/hramrach/ruby-1.8.6/lib/net/http.rb:543:in `start'
     /Users/hramrach/ruby-1.8.6/lib/net/http.rb:1032:in `request'
     ./test/webrick/test_cgi.rb:27:in `test_cgi'
     ./test/webrick/utils.rb:26:in `call'
     ./test/webrick/utils.rb:26:in `start_server'
     ./test/webrick/utils.rb:34:in `start_httpserver'
     ./test/webrick/test_cgi.rb:24:in `test_cgi']:
<"/webrick.cgi"> expected but was
<"<!DOCTYPE HTML PUBLIC \-//W3C//DTD HTML 4.0//EN\>\n<HTML>\n  <HEAD><TITLE>Internal Server Error</TITLE></HEAD>\n  <BODY>\n    <H1>Internal Server Error</H1>\n    Premature end of script headers: /Users/hramrach/ruby-1.8.6/test/webrick/webrick.cgi\n    <HR>\n    <ADDRESS>\n     WEBrick/1.3.1 (Ruby/1.8.6/2007-03-13) OpenSSL/0.9.7l at\n     127.0.0.1:50589\n    </ADDRESS>\n  </BODY>\n</HTML>\n">.

1610 tests, 16577 assertions, 1 failures, 0 errors


ProductName:    Mac OS X
ProductVersion: 10.4.9
BuildVersion:   8P2137

i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5363)


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=10191&group_id=426