Skip to content

Instantly share code, notes, and snippets.

@luislavena
Created November 11, 2012 13:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luislavena/4054864 to your computer and use it in GitHub Desktop.
Save luislavena/4054864 to your computer and use it in GitHub Desktop.
ruby 1.9.3p327 (2012-11-10) [i386-mingw32]
583 tests, 1761 assertions, 4 failures, 2 errors
Bacon::Error: #<Rack::MockResponse:0x3472a28 @original_headers={"Last-Modified"=>"Sun, 11 Nov 2012 12:55:13 GMT", "Content-Type"=>"text/plain", "Content-Length"=>"193"}, @errors="", @body_string=nil, @status=200, @header={"Content-Type"=>"text/plain", "Last-Modified"=>"Sun, 11 Nov 2012 12:55:13 GMT", "Content-Length"=>"193"}, @chunked=false, @writer=#<Proc:0x3472620@C:/Users/Luis/Code/rack/rack/lib/rack/response.rb:28 (lambda)>, @block=nil, @length=193, @body=["#!/usr/bin/env ruby\n# -*- ruby -*-\n\n$: << File.join(File.dirname(__FILE__), \"..\", \"..\", \"lib\")\n\nrequire 'rack'\nrequire '../testrequest'\n\nRack::Handler::CGI.run(Rack::Lint.new(TestRequest.new))\n"]>.not_found?() failed
test/spec_file.rb:86:in `block (2 levels) in <top (required)>': Rack::File - should allow files with .. in their name
test/spec_file.rb:80:in `block in <top (required)>'
test/spec_file.rb:5:in `<top (required)>'
EOFError: bad content body
C:/Users/Luis/Code/rack/rack/lib/rack/multipart/parser.rb:75:in `block in fast_forward_to_first_boundary': Rack::Multipart - can parse fields that end at the end of the buffer
C:/Users/Luis/Code/rack/rack/lib/rack/multipart/parser.rb:72:in `loop'
C:/Users/Luis/Code/rack/rack/lib/rack/multipart/parser.rb:72:in `fast_forward_to_first_boundary'
C:/Users/Luis/Code/rack/rack/lib/rack/multipart/parser.rb:15:in `parse'
C:/Users/Luis/Code/rack/rack/lib/rack/multipart.rb:25:in `parse_multipart'
C:/Users/Luis/Code/rack/rack/lib/rack/request.rb:383:in `parse_multipart'
C:/Users/Luis/Code/rack/rack/lib/rack/request.rb:201:in `POST'
test/spec_multipart.rb:309:in `block (2 levels) in <top (required)>'
test/spec_multipart.rb:301:in `block in <top (required)>'
test/spec_multipart.rb:4:in `<top (required)>'
EOFError: bad content body
C:/Users/Luis/Code/rack/rack/lib/rack/multipart/parser.rb:110:in `get_current_head_and_filename_and_content_type_and_name_and_body': Rack::Request - should work around buggy 1.8.* Tempfile equality
C:/Users/Luis/Code/rack/rack/lib/rack/multipart/parser.rb:19:in `block in parse'
C:/Users/Luis/Code/rack/rack/lib/rack/multipart/parser.rb:17:in `loop'
C:/Users/Luis/Code/rack/rack/lib/rack/multipart/parser.rb:17:in `parse'
C:/Users/Luis/Code/rack/rack/lib/rack/multipart.rb:25:in `parse_multipart'
C:/Users/Luis/Code/rack/rack/lib/rack/request.rb:383:in `parse_multipart'
C:/Users/Luis/Code/rack/rack/lib/rack/request.rb:201:in `POST'
test/spec_request.rb:855:in `block (3 levels) in <top (required)>'
test/spec_request.rb:855:in `block (2 levels) in <top (required)>'
test/spec_request.rb:837:in `block in <top (required)>'
test/spec_request.rb:6:in `<top (required)>'
Bacon::Error: "C:/Users/Luis/Code/rack/rack/rack_sendfile".==("rack_sendfile") failed
test/spec_sendfile.rb:47:in `block (3 levels) in <top (required)>': Rack::Sendfile - sets X-Sendfile response header and discards body
test/spec_sendfile.rb:31:in `request'
test/spec_sendfile.rb:43:in `block (2 levels) in <top (required)>'
test/spec_sendfile.rb:42:in `block in <top (required)>'
test/spec_sendfile.rb:12:in `<top (required)>'
Bacon::Error: "C:/Users/Luis/Code/rack/rack/rack_sendfile".==("rack_sendfile") failed
test/spec_sendfile.rb:56:in `block (3 levels) in <top (required)>': Rack::Sendfile - sets X-Lighttpd-Send-File response header and discards body
test/spec_sendfile.rb:31:in `request'
test/spec_sendfile.rb:52:in `block (2 levels) in <top (required)>'
test/spec_sendfile.rb:51:in `block in <top (required)>'
test/spec_sendfile.rb:12:in `<top (required)>'
Bacon::Error: "C:/Users/Luis/Code/rack/rack/rack_sendfile".==("/foo/bar/rack_sendfile") failed
test/spec_sendfile.rb:69:in `block (3 levels) in <top (required)>': Rack::Sendfile - sets X-Accel-Redirect response header and discards body
test/spec_sendfile.rb:31:in `request'
test/spec_sendfile.rb:65:in `block (2 levels) in <top (required)>'
test/spec_sendfile.rb:60:in `block in <top (required)>'
test/spec_sendfile.rb:12:in `<top (required)>'
ruby 2.0.0dev (2012-11-10 trunk 37612) [i386-mingw32]
583 tests, 1761 assertions, 5 failures, 2 errors
Bacon::Error: "c\r\n\xFE\xFFH\x00e\x00l\x00l\x00o\x00\r\n2\r\n \x00\r\na\r\nW\x00o\x00r\x00l\x00d\x00\r\n0\r\n\r\n".==("c\r\n\xFE\xFFH\u0000e\u0000l\u0000l\u0000o\u0000\r\n2\r\n \u0000\r\na\r\nW\u0000o\u0000r\u0000l\u0000d\u0000\r\n0\r\n\r\n") failed
test/spec_chunked.rb:46:in `block (2 levels) in <top (required)>': Rack::Chunked - should chunks encoded bodies properly
test/spec_chunked.rb:39:in `block in <top (required)>'
test/spec_chunked.rb:5:in `<top (required)>'
Bacon::Error: #<Rack::MockResponse:0x2cd4728 @original_headers={"Last-Modified"=>"Sun, 11 Nov 2012 12:55:13 GMT", "Content-Type"=>"text/plain", "Content-Length"=>"193"}, @errors="", @body_string=nil, @status=200, @header={"Content-Type"=>"text/plain", "Last-Modified"=>"Sun, 11 Nov 2012 12:55:13 GMT", "Content-Length"=>"193"}, @chunked=false, @writer=#<Proc:0x2cd44a0@C:/Users/Luis/Code/rack/rack/lib/rack/response.rb:28 (lambda)>, @block=nil, @length=193, @body=["#!/usr/bin/env ruby\n# -*- ruby -*-\n\n$: << File.join(File.dirname(__FILE__), \"..\", \"..\", \"lib\")\n\nrequire 'rack'\nrequire '../testrequest'\n\nRack::Handler::CGI.run(Rack::Lint.new(TestRequest.new))\n"]>.not_found?() failed
test/spec_file.rb:86:in `block (2 levels) in <top (required)>': Rack::File - should allow files with .. in their name
test/spec_file.rb:80:in `block in <top (required)>'
test/spec_file.rb:5:in `<top (required)>'
EOFError: bad content body
C:/Users/Luis/Code/rack/rack/lib/rack/multipart/parser.rb:75:in `block in fast_forward_to_first_boundary': Rack::Multipart - can parse fields that end at the end of the buffer
C:/Users/Luis/Code/rack/rack/lib/rack/multipart/parser.rb:76:in `loop'
C:/Users/Luis/Code/rack/rack/lib/rack/multipart/parser.rb:76:in `fast_forward_to_first_boundary'
C:/Users/Luis/Code/rack/rack/lib/rack/multipart/parser.rb:15:in `parse'
C:/Users/Luis/Code/rack/rack/lib/rack/multipart.rb:25:in `parse_multipart'
C:/Users/Luis/Code/rack/rack/lib/rack/request.rb:383:in `parse_multipart'
C:/Users/Luis/Code/rack/rack/lib/rack/request.rb:201:in `POST'
test/spec_multipart.rb:309:in `block (2 levels) in <top (required)>'
test/spec_multipart.rb:301:in `block in <top (required)>'
test/spec_multipart.rb:4:in `<top (required)>'
EOFError: bad content body
C:/Users/Luis/Code/rack/rack/lib/rack/multipart/parser.rb:110:in `get_current_head_and_filename_and_content_type_and_name_and_body': Rack::Request - should work around buggy 1.8.* Tempfile equality
C:/Users/Luis/Code/rack/rack/lib/rack/multipart/parser.rb:19:in `block in parse'
C:/Users/Luis/Code/rack/rack/lib/rack/multipart/parser.rb:35:in `loop'
C:/Users/Luis/Code/rack/rack/lib/rack/multipart/parser.rb:35:in `parse'
C:/Users/Luis/Code/rack/rack/lib/rack/multipart.rb:25:in `parse_multipart'
C:/Users/Luis/Code/rack/rack/lib/rack/request.rb:383:in `parse_multipart'
C:/Users/Luis/Code/rack/rack/lib/rack/request.rb:201:in `POST'
test/spec_request.rb:855:in `block (3 levels) in <top (required)>'
test/spec_request.rb:855:in `block (2 levels) in <top (required)>'
test/spec_request.rb:837:in `block in <top (required)>'
test/spec_request.rb:6:in `<top (required)>'
Bacon::Error: "C:/Users/Luis/Code/rack/rack/rack_sendfile".==("rack_sendfile") failed
test/spec_sendfile.rb:47:in `block (3 levels) in <top (required)>': Rack::Sendfile - sets X-Sendfile response header and discards body
test/spec_sendfile.rb:31:in `request'
test/spec_sendfile.rb:43:in `block (2 levels) in <top (required)>'
test/spec_sendfile.rb:42:in `block in <top (required)>'
test/spec_sendfile.rb:12:in `<top (required)>'
Bacon::Error: "C:/Users/Luis/Code/rack/rack/rack_sendfile".==("rack_sendfile") failed
test/spec_sendfile.rb:56:in `block (3 levels) in <top (required)>': Rack::Sendfile - sets X-Lighttpd-Send-File response header and discards body
test/spec_sendfile.rb:31:in `request'
test/spec_sendfile.rb:52:in `block (2 levels) in <top (required)>'
test/spec_sendfile.rb:51:in `block in <top (required)>'
test/spec_sendfile.rb:12:in `<top (required)>'
Bacon::Error: "C:/Users/Luis/Code/rack/rack/rack_sendfile".==("/foo/bar/rack_sendfile") failed
test/spec_sendfile.rb:69:in `block (3 levels) in <top (required)>': Rack::Sendfile - sets X-Accel-Redirect response header and discards body
test/spec_sendfile.rb:31:in `request'
test/spec_sendfile.rb:65:in `block (2 levels) in <top (required)>'
test/spec_sendfile.rb:60:in `block in <top (required)>'
test/spec_sendfile.rb:12:in `<top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment