Issue #4157 has been updated by mame (Yusuke Endoh). Status changed from Assigned to Closed rubyci の FreeBSD のログを手動で少しだけ見てみましたが、再現は見当たりませんでした。 http://rubyci.s3.amazonaws.com/freebsd11zfs/ruby-trunk/summary.html 岸本さんのところでも再現環境がすぐに用意できなくなっていると聞いたので、 とりあえず close しときたいと思います。 ---------------------------------------- Bug #4157: test_pty で、たまに出る Failure https://bugs.ruby-lang.org/issues/4157#change-70924 * Author: metanest (Makoto Kishimoto) * Status: Closed * Priority: Normal * Assignee: metanest (Makoto Kishimoto) * Target version: * ruby -v: - * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- =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 <nil>. 1) Failure: test_commandline(TestPTY) [/export/home/ksmakoto/ruby-git/test/test_pty.rb:36]: <"foo\r\n"> expected but was <nil>. 1) Failure: test_spawn_with_block(TestPTY) [/export/home/ksmakoto/ruby-git/test/test_pty.rb:26]: <"b\r\n"> expected but was <nil>. 1) Failure: test_spawn_without_block(TestPTY) [/export/home/ksmakoto/ruby-git/test/test_pty.rb:19]: <"a\r\n"> expected but was <nil>. =end -- https://bugs.ruby-lang.org/