summaryrefslogtreecommitdiff
path: root/test
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 /test
parente6847d1c559c00f2dcf7d9d3a2e1db56dcecfbaa (diff)
* 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
Diffstat (limited to 'test')
-rw-r--r--test/fileutils/test_fileutils.rb2
1 files changed, 1 insertions, 1 deletions
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