[ruby-trunk - Bug #4121] test getpty nonexistentで止まることがある

Issue #4121 has been updated by dafiku (dafi harisy).

Everlastingly, an issue with the intention of I am passionate in this
vicinity. I be inflicted with looked for in rank of this feature for the
last numerous hours. Your locate is greatly valued.
http://www.yourhousecontents.com/
http://www.electroscanogram.com/
http://www.videophototravel.info/
http://www.supershinelaundry.com/
http://www.ywor.info/
http://www.bicity.info/
http://www.ubidyne.info/

Bug #4121: test_getpty_nonexistentで止まることがある
https://bugs.ruby-lang.org/issues/4121#change-31316

Author: kyanagi (Kouhei Y.)
Status: Closed
Priority: Normal
Assignee: kosaki (Motohiro KOSAKI)
Category: core
Target version:
ruby -v: ruby 1.9.3dev (2010-12-06 trunk 30091) [x86_64-linux]

=begin
CentOS 5.5 で、test_pty.rbが途中で止まることがあります。

毎回止まるわけではなく、正しくテストが実行されることも多いです。

while true; do make test-all TESTS=‘test_pty.rb’; done

などと連続で実行させると簡単に再現できます。

Debian lennyでは問題は発生しませんでした。

$ make test-all TESTS=‘test_pty.rb’
./miniruby -I./lib -I.ext/common ./tool/runruby.rb --extout=.ext –
“./test/runner.rb” test_pty.rb
Run options:

Running tests:

…(ここで止まるのでC-cで中断する)F…

Finished tests in 2.729398s, 4.3966 tests/s, 10.6251 assertions/s.

  1. Failure:
    test_getpty_nonexistent(TestPTY)
    [/home/yanagi/tmp/ruby/test/test_pty.rb:157]:
    [ruby-dev:41965]
    [Errno::ENOENT] exception expected, not
    Class:
    Message: <"">
    —Backtrace—
    /home/yanagi/tmp/ruby/test/test_pty.rb:159:in getbyte' /home/yanagi/tmp/ruby/test/test_pty.rb:159:ingetpty’
    /home/yanagi/tmp/ruby/test/test_pty.rb:159:in `block (2 levels) in
    test_getpty_nonexistent’

12 tests, 29 assertions, 1 failures, 0 errors, 0 skips
make: *** [yes-test-all] Error 1
=end

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