summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-25 08:45:47 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-25 08:45:47 +0000
commitce094d1d73c46e90319ad4dcbd504c33740b710b (patch)
tree935d0536a9a315e0623b4b56b99f34c4e265dc45
parent560c2da384574e3ccbeb9f4b15747a2e22eeb621 (diff)
merge revision(s) 47837: [Backport #12155]
* 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/branches/ruby_2_1@54270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--test/ruby/test_process.rb4
-rw-r--r--version.h2
3 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index ad0c82a216..f88126c153 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Fri Mar 25 17:45:36 2016 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.
+
Fri Mar 25 17:42:34 2016 Rei Odaira <Rei.Odaira@gmail.com>
* test/ruby/test_process.rb (test_execopts_gid): Skip a test
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index bb34e22454..0a97ba76ec 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -1689,9 +1689,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)
diff --git a/version.h b/version.h
index 3866d859df..591204e92b 100644
--- a/version.h
+++ b/version.h
@@ -1,6 +1,6 @@
#define RUBY_VERSION "2.1.9"
#define RUBY_RELEASE_DATE "2016-03-25"
-#define RUBY_PATCHLEVEL 467
+#define RUBY_PATCHLEVEL 468
#define RUBY_RELEASE_YEAR 2016
#define RUBY_RELEASE_MONTH 3