[Ruby 1.9-Bug#4333][Open] test too long path2 が失敗します

Bug #4333: test_too_long_path2 が失敗します
http://redmine.ruby-lang.org/issues/show/4333

起票者: Makoto K.
ステータス: Open, 優先度: Normal
カテゴリ: test
ruby -v: ruby 1.9.3dev (2011-01-28 trunk 30684) [x86_64-freebsd8.2]

r30680 および r30682 で追加されたテスト test_too_long_path2 が失敗しています。
メッセージで長大な行が出力されます(以下では改行を入れて編集してます)。

$ make test-all TESTS=-v -n test_too_long_path2 ruby/test_process.rb
./miniruby -I…/lib -I. -I.ext/common …/tool/runruby.rb --extout=.ext
– “…/test/runner.rb” -v -n test_too_long_path2 ruby/test_process.rb
Run options: -v -n test_too_long_path2

Running tests:

TestProcess#test_too_long_path2 = 3.01 s = F

Finished tests in 3.015126s, 0.3317 tests/s, 0.3317 assertions/s.

  1. Failure:
    test_too_long_path2(TestProcess)
    [/export/home/ksmakoto/ruby-git/test/ruby/test_
    process.rb:1242]:
    [ruby-core:34833]
    [Errno::ENOENT] exception expected, not
    Class: Errno::E2BIG
    Message: <“Argument list too long -
    “a”|“a”|“a”|“a”|“a”|“a”|“a”|”
    a"|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a
    “|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|
    “a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|”
    a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a
    “|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|
    “a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|”
    a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a
    “|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|
    “a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|”
    a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|"a
    "|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|“a”|
    (snip)
    —Backtrace—
    /export/home/ksmakoto/ruby-git/test/ruby/test_process.rb:1242:in spawn' /export/home/ksmakoto/ruby-git/test/ruby/test_process.rb:1242:inblock
    in test_
    too_long_path2’

1 tests, 1 assertions, 1 failures, 0 errors, 0 skips
*** Error code 1

Stop in /export/home/ksmakoto/ruby-git/BUILD.