1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

merge revision(s) 56884: [Backport #12910]

test_fileutils.rb: Use primary group too

	* test/fileutils/test_fileutils.rb (TestFileUtils#setup): Use
  primary group as well as supplementary groups.  based on the
  patch by Vit Ondruch at [ruby-core:78053].  [Bug #12910]

	It might happen in certain environments (systemd-nspawn) that
	process has no supplementary groups, but primary groups should be
	enough to pass most of the tests.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@56888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nagachika 2016-11-23 20:48:33 +00:00
parent 6fe1243dfe
commit f9664eb3c7
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
Thu Nov 24 05:47:18 2016 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
* test/fileutils/test_fileutils.rb (TestFileUtils#setup): Use primary
group as well as supplementary groups.
based on the patch by Vit Ondruch at [Bug #12910]
Thu Nov 24 05:44:04 2016 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
* test/ruby/test_dir_m17n.rb: Don't encode to UTF-8 if it's unnecessary.

View file

@ -144,7 +144,7 @@ class TestFileUtils < Test::Unit::TestCase
def setup
@prevdir = Dir.pwd
@groups = Process.groups if have_file_perm?
@groups = [Process.gid] | Process.groups if have_file_perm?
tmproot = TMPROOT
mymkdir tmproot unless File.directory?(tmproot)
Dir.chdir tmproot

View file

@ -1,6 +1,6 @@
#define RUBY_VERSION "2.3.3"
#define RUBY_RELEASE_DATE "2016-11-24"
#define RUBY_PATCHLEVEL 223
#define RUBY_PATCHLEVEL 224
#define RUBY_RELEASE_YEAR 2016
#define RUBY_RELEASE_MONTH 11