Project

General

Profile

Backport #3425

Error: test_filehandler(WEBrick::TestFileHandler)

Added by znz (Kazuhiro NISHIYAMA) about 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
[ruby-dev:41580]

Description

=begin
test_filehandler(WEBrick::TestFileHandler) の Error が手元の環境でも chkbuild でも発生しています。

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

3) Error:
test_filehandler(WEBrick::TestFileHandler):
NameError: undefined local variable or method log' for #<WEBrick::TestFileHandler:0xb74a5058>
./test/webrick/test_filehandler.rb:96:in
test_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:in
reading_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:in
request'
/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:in
request'
./test/webrick/test_filehandler.rb:95:in test_filehandler'
./test/webrick/utils.rb:38:in
call'
./test/webrick/utils.rb:38:in start_server'
./test/webrick/utils.rb:46:in
start_httpserver'
./test/webrick/test_filehandler.rb:79:in `test_filehandler'
=end

History

#1

Updated by nahi (Hiroshi Nakamura) almost 9 years ago

  • Assignee set to nahi (Hiroshi Nakamura)
  • Priority changed from Normal to 3

=begin

=end

#2

Updated by nahi (Hiroshi Nakamura) almost 9 years ago

  • Category set to lib
  • Status changed from Open to Closed

=begin
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
=end

Also available in: Atom PDF