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

Posted by dafiku (dafi harisy) (Guest)
on 2012-10-23 07:28
(Received via mailing list)
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 Yanagita)
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: <Interrupt>
 Message: <"">
 ---Backtrace---
 /home/yanagi/tmp/ruby/test/test_pty.rb:159:in `getbyte'
 /home/yanagi/tmp/ruby/test/test_pty.rb:159:in `getpty'
 /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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.