mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/test_signal.rb (TestSignal#test_exit_action): Thread
may terminate before sysread. [ruby-dev:36835] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6e1ed14606
commit
2169d5d3c6
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Oct 24 10:23:24 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
|
||||||
|
|
||||||
|
* test/ruby/test_signal.rb (TestSignal#test_exit_action): Thread
|
||||||
|
may terminate before sysread. [ruby-dev:36835]
|
||||||
|
|
||||||
Thu Oct 23 22:06:23 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
Thu Oct 23 22:06:23 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
||||||
|
|
||||||
* distruby.rb: removed. "make dist" uses tool/make-snapshot for the 1.9
|
* distruby.rb: removed. "make dist" uses tool/make-snapshot for the 1.9
|
||||||
|
|
|
@ -41,7 +41,7 @@ class TestSignal < Test::Unit::TestCase
|
||||||
Signal.trap(:USR1, "EXIT")
|
Signal.trap(:USR1, "EXIT")
|
||||||
w0.close
|
w0.close
|
||||||
w.syswrite("a")
|
w.syswrite("a")
|
||||||
Thread.start { Thread.pass }
|
Thread.start { sleep(2) }
|
||||||
r0.sysread(4096)
|
r0.sysread(4096)
|
||||||
}
|
}
|
||||||
r.sysread(1)
|
r.sysread(1)
|
||||||
|
|
Loading…
Reference in a new issue