test/ruby/test_process.rb (TestProcess#test_setsid): AIX does not allow Process::getsid(pid) when pid is in a different session
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
185c85b26e
commit
554577015f
@ -1,3 +1,9 @@
|
||||
Wed Oct 8 04:38:29 2014 Rei Odaira <Rei.Odaira@gmail.com>
|
||||
|
||||
* test/ruby/test_process.rb (TestProcess#test_setsid): AIX
|
||||
does not allow Process::getsid(pid) when pid is in a
|
||||
different session.
|
||||
|
||||
Wed Oct 8 04:33:04 2014 Rei Odaira <Rei.Odaira@gmail.com>
|
||||
|
||||
* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_encoding):
|
||||
|
@ -1676,9 +1676,9 @@ class TestProcess < Test::Unit::TestCase
|
||||
def test_setsid
|
||||
return unless Process.respond_to?(:setsid)
|
||||
return unless Process.respond_to?(:getsid)
|
||||
# OpenBSD doesn't allow Process::getsid(pid) when pid is in
|
||||
# OpenBSD and AIX don't allow Process::getsid(pid) when pid is in
|
||||
# different session.
|
||||
return if /openbsd/ =~ RUBY_PLATFORM
|
||||
return if /openbsd|aix/ =~ RUBY_PLATFORM
|
||||
|
||||
IO.popen([RUBY, "-e", <<EOS]) do|io|
|
||||
Marshal.dump(Process.getsid, STDOUT)
|
||||
|
Loading…
x
Reference in New Issue
Block a user