[Backport #3425] Error: test_filehandler(WEBrick::TestFileHandler)

Backport #3425: Error: test_filehandler(WEBrick::TestFileHandler)
http://redmine.ruby-lang.org/issues/show/3425

e$B5/I<<Te(B: Kazuhiro NISHIYAMA
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal

test_filehandler(WEBrick::TestFileHandler) e$B$Ne(B Error
e$B$,<j85$N4D6-$G$be(B chkbuild e$B$G$bH/@8$7$F$$$^$9!#e(B

http://www.rubyist.net/~akr/chkbuild/debian/ruby-1.8.7/log/20100611T085812.log.txt.gz

  1. Error:
    test_filehandler(WEBrick::TestFileHandler):
    NameError: undefined local variable or method log' for #<WEBrick::TestFileHandler:0xb74a5058> ./test/webrick/test_filehandler.rb:96:intest_filehandler’
    /home/akr/chkbuild/tmp/build/ruby-1.8.7/20100611T085812/ruby/lib/net/http.rb:1054:in
    request' /home/akr/chkbuild/tmp/build/ruby-1.8.7/20100611T085812/ruby/lib/net/http.rb:2144:inreading_body’
    /home/akr/chkbuild/tmp/build/ruby-1.8.7/20100611T085812/ruby/lib/net/http.rb:1053:in
    request' /home/akr/chkbuild/tmp/build/ruby-1.8.7/20100611T085812/ruby/lib/net/http.rb:1037:inrequest’
    /home/akr/chkbuild/tmp/build/ruby-1.8.7/20100611T085812/ruby/lib/net/http.rb:543:in
    start' /home/akr/chkbuild/tmp/build/ruby-1.8.7/20100611T085812/ruby/lib/net/http.rb:1035:inrequest’
    ./test/webrick/test_filehandler.rb:95:in test_filehandler' ./test/webrick/utils.rb:38:incall’
    ./test/webrick/utils.rb:38:in start_server' ./test/webrick/utils.rb:46:instart_httpserver’
    ./test/webrick/test_filehandler.rb:79:in `test_filehandler’

e$B%A%1%C%He(B #3425 e$B$,99?7$5$l$^$7$?!#e(B (by Hiroshi NAKAMURA)

e$B%+%F%4%je(B libe$B$K%;%C%He(B
e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B

r28336 fixed this. Closing.

r28336 | shyouhei | 2010-06-16 15:57:47 +0900 (Wed, 16 Jun 2010) | 6
lines

merge revision(s) 26344,27367:
* lib/net/http.rb
(Net::HTTPHeader#{content_range,range_length}):
use inclusive range same as the header representation.
* test/webrick/utils.rb (TestWEBrick#start_server): add log for
test_filehandler.rb

http://redmine.ruby-lang.org/issues/show/3425

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs