зеркало из https://github.com/github/ruby.git
* test/ruby/test_process.rb (test_setsid): Added a workaround for
MacOS X. Patch by nagachika. [Bug #7826] [ruby-core:52126] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
09faab67fb
Коммит
e4b775882d
|
@ -1,3 +1,8 @@
|
|||
Thu Feb 14 10:45:31 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* test/ruby/test_process.rb (test_setsid): Added a workaround for
|
||||
MacOS X. Patch by nagachika. [Bug #7826] [ruby-core:52126]
|
||||
|
||||
Fri Feb 15 00:15:31 2013 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/socket/sockport.h (VALIDATE_SOCKLEN): new macro to validate
|
||||
|
|
|
@ -1583,6 +1583,9 @@ class TestProcess < Test::Unit::TestCase
|
|||
newsid = Process.setsid
|
||||
Marshal.dump(newsid, STDOUT)
|
||||
STDOUT.flush
|
||||
# getsid() on MacOS X return ESRCH when target process is zombie
|
||||
# even if it is valid process id.
|
||||
sleep
|
||||
EOS
|
||||
begin
|
||||
# test Process.getsid() w/o arg
|
||||
|
|
Загрузка…
Ссылка в новой задаче