Skip to content

Commit ce094d1

Browse files
committed
merge revision(s) 47837: [Backport ruby#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
1 parent 560c2da commit ce094d1

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Fri Mar 25 17:45:36 2016 Rei Odaira <Rei.Odaira@gmail.com>
2+
3+
* test/ruby/test_process.rb (TestProcess#test_setsid): AIX
4+
does not allow Process::getsid(pid) when pid is in a
5+
different session.
6+
17
Fri Mar 25 17:42:34 2016 Rei Odaira <Rei.Odaira@gmail.com>
28

39
* test/ruby/test_process.rb (test_execopts_gid): Skip a test

test/ruby/test_process.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1689,9 +1689,9 @@ def test_sh_exec
16891689
def test_setsid
16901690
return unless Process.respond_to?(:setsid)
16911691
return unless Process.respond_to?(:getsid)
1692-
# OpenBSD doesn't allow Process::getsid(pid) when pid is in
1692+
# OpenBSD and AIX don't allow Process::getsid(pid) when pid is in
16931693
# different session.
1694-
return if /openbsd/ =~ RUBY_PLATFORM
1694+
return if /openbsd|aix/ =~ RUBY_PLATFORM
16951695

16961696
IO.popen([RUBY, "-e", <<EOS]) do|io|
16971697
Marshal.dump(Process.getsid, STDOUT)

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#define RUBY_VERSION "2.1.9"
22
#define RUBY_RELEASE_DATE "2016-03-25"
3-
#define RUBY_PATCHLEVEL 467
3+
#define RUBY_PATCHLEVEL 468
44

55
#define RUBY_RELEASE_YEAR 2016
66
#define RUBY_RELEASE_MONTH 3

0 commit comments

Comments
 (0)