[Ruby 1.9 - Bug #4157][Closed] test pty で、たまに出る Failure

Issue #4157 has been updated by Hiroshi NAKAMURA.

Status changed from Assigned to Closed
Assignee changed from Makoto K. to Yui NARUSE
Target version set to 1.9.3

ありがとうございます。修正済み扱いで閉じますので、再現したらご連絡をお願いします。

Bug #4157: test_pty で、たまに出る Failure

Author: Makoto K.
Status: Closed
Priority: Low
Assignee: Yui NARUSE
Category:
Target version: 1.9.3
ruby -v: ruby 1.9.3dev (2010-12-14 trunk 30206) [x86_64-freebsd8.2]

=begin
amd64 FreeBSD8 でも #4121 が起きることがあるのですが、
while で $ while make test-all TESTS=“test_pty.rb” ; do : ; done
のように実行していると、他の Failure がたまに起きます。
以下のように、どれも、期待した文字列の代わりに nil が返っています。

  1. Failure:
    test_argv0(TestPTY)
    [/export/home/ksmakoto/ruby-git/test/test_pty.rb:45]:
    <“bar\r\n”> expected but was
    .

  2. Failure:
    test_commandline(TestPTY)
    [/export/home/ksmakoto/ruby-git/test/test_pty.rb:36]:
    <“foo\r\n”> expected but was
    .

  3. Failure:
    test_spawn_with_block(TestPTY)
    [/export/home/ksmakoto/ruby-git/test/test_pty.rb:26]:
    <“b\r\n”> expected but was
    .

  4. Failure:
    test_spawn_without_block(TestPTY)
    [/export/home/ksmakoto/ruby-git/test/test_pty.rb:19]:
    <“a\r\n”> expected but was
    .
    =end