[前][次][番号順一覧][スレッド一覧]

ruby-changes:32289

From: usa <ko1@a...>
Date: Tue, 24 Dec 2013 05:06:52 +0900 (JST)
Subject: [ruby-changes:32289] usa:r44368 (trunk): * test/fileutils/test_fileutils.rb (setup): should not call

usa	2013-12-24 05:06:44 +0900 (Tue, 24 Dec 2013)

  New Revision: 44368

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44368

  Log:
    * test/fileutils/test_fileutils.rb (setup): should not call
      Process.groups for Windows.  get rid of many errors introduced by
      r44364.

  Modified files:
    trunk/ChangeLog
    trunk/test/fileutils/test_fileutils.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 44367)
+++ ChangeLog	(revision 44368)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Dec 24 05:04:56 2013  NAKAMURA Usaku  <usa@r...>
+
+	* 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@r...>
 
 	* test/fileutils/fileasserts.rb (assert_ownership_group): new
Index: test/fileutils/test_fileutils.rb
===================================================================
--- test/fileutils/test_fileutils.rb	(revision 44367)
+++ test/fileutils/test_fileutils.rb	(revision 44368)
@@ -112,7 +112,7 @@ class TestFileUtils https://github.com/ruby/ruby/blob/trunk/test/fileutils/test_fileutils.rb#L112
 
   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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]