aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-23 20:06:44 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-23 20:06:44 +0000
commit156d7f5f60a082b9045d7d3f05da8790601d3419 (patch)
tree2bf476bf0c7db2b08600eff1fe8096abf0453950
parente6847d1c559c00f2dcf7d9d3a2e1db56dcecfbaa (diff)
downloadruby-156d7f5f60a082b9045d7d3f05da8790601d3419.tar.gz
* test/fileutils/test_fileutils.rb (setup): should not call
Process.groups for Windows. get rid of many errors introduced by r44364. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--test/fileutils/test_fileutils.rb2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 61998df60b..c835eda08b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Tue Dec 24 05:04:56 2013 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * test/fileutils/test_fileutils.rb (setup): should not call
+ Process.groups for Windows. get rid of many errors introduced by
+ r44364.
+
Mon Dec 23 18:37:16 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/fileutils/fileasserts.rb (assert_ownership_group): new
diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb
index a30d1ab94d..bff9550172 100644
--- a/test/fileutils/test_fileutils.rb
+++ b/test/fileutils/test_fileutils.rb
@@ -112,7 +112,7 @@ class TestFileUtils
def setup
@prevdir = Dir.pwd
- @groups = Process.groups
+ @groups = Process.groups if have_file_perm?
tmproot = TMPROOT
mymkdir tmproot unless File.directory?(tmproot)
Dir.chdir tmproot