summaryrefslogtreecommitdiff
path: root/test/ruby/test_process.rb
diff options
context:
space:
mode:
authorodaira <odaira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-07 19:40:13 +0000
committerodaira <odaira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-07 19:40:13 +0000
commit554577015f81be1427207dcf262739c1844d06d8 (patch)
treee66c2ef5dd95f3534ca2f74c4e524089ecea736a /test/ruby/test_process.rb
parent185c85b26e324295e49650853f0414477dda44bd (diff)
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
Diffstat (limited to 'test/ruby/test_process.rb')
-rw-r--r--test/ruby/test_process.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index 0530c8d088..5aad1d52fb 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -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)