[#46309] [ruby-trunk - Bug #2154][Assigned] filesystem encoding of UNIX — "usa (Usaku NAKAMURA)" <usa@...>

13 messages 2012/10/29
[#46310] Re: [ruby-trunk - Bug #2154][Assigned] filesystem encoding of UNIX — Tanaka Akira <akr@...> 2012/10/29

2012年10月29日 10:31 usa (Usaku NAKAMURA) <usa@garbagecollect.jp>:

[#46366] Re: [ruby-trunk - Bug #2154][Assigned] filesystem encoding of UNIX — "U.Nakamura" <usa@...> 2012/11/02

こんにちは、なかむら(う)です。

[#46375] Re: [ruby-trunk - Bug #2154][Assigned] filesystem encoding of UNIX — KOSAKI Motohiro <kosaki.motohiro@...> 2012/11/02

>> とくに指定しなければ、default external は locale から設定されるので、

[ruby-dev:46253] [ruby-trunk - Bug #4121] test_getpty_nonexistentで止まることがある

From: "bowen113 (bowen wenqi)" <bocaishuaige@...>
Date: 2012-10-24 01:35:51 UTC
List: ruby-dev #46253
Issue #4121 has been updated by bowen113 (bowen wenqi).


metanest (Makoto Kishimoto) wrote:
> =begin
>  うちの環境(4コアAMD64、FreeBSD8)でも起きます。
>  
>   $ cpuset -l 0 make test-all TESTS='test_pty.rb'
>  
>  のように CPU を制限すると確実に起きます。が
>  
>   $ cpuset -l 0 make test-all TESTS='-n test_getpty_nonexistent test_pty.rb'
>  
>  のように問題のテストだけ実行すると確実に起きなくなります。
[url=http://www.breitling2u.com/breitling-chrono-avenger-watches-17_106.html]breitling chrono avenger[/url]
[url=http://www.breitling2u.com/breitling-montbrillant-watches-17_113.html]breitling montbrillant replica[/url]
[url=http://www.breitling2u.com/breitling-chronospace-watches-17_546.html]breitling chronospace replica[/url]

> =end


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

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



-- 
http://bugs.ruby-lang.org/

In This Thread

Prev Next