ruby-changes:18111
From: yugui <ko1@a...>
Date: Wed, 8 Dec 2010 17:27:07 +0900 (JST)
Subject: [ruby-changes:18111] Ruby:r30130 (ruby_1_9_2): merges r29632 from trunk into ruby_1_9_2.
yugui 2010-12-08 17:09:06 +0900 (Wed, 08 Dec 2010) New Revision: 30130 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30130 Log: merges r29632 from trunk into ruby_1_9_2. -- * test/pathname/test_pathname.rb (TestPathname#test_grpowned?): the group of the created file is inherited from the parent directory on BSDs and MacOS X. Linux also inherit the group if the setgid bit of the directory is set. It causes the test fail. fixed by Shota Fukumori. [ruby-dev:42458] Modified files: branches/ruby_1_9_2/ChangeLog branches/ruby_1_9_2/test/pathname/test_pathname.rb branches/ruby_1_9_2/version.h Index: ruby_1_9_2/ChangeLog =================================================================== --- ruby_1_9_2/ChangeLog (revision 30129) +++ ruby_1_9_2/ChangeLog (revision 30130) @@ -1,3 +1,11 @@ +Sat Oct 30 06:32:52 2010 Tanaka Akira <akr@f...> + + * test/pathname/test_pathname.rb (TestPathname#test_grpowned?): the + group of the created file is inherited from the parent + directory on BSDs and MacOS X. Linux also inherit the group if + the setgid bit of the directory is set. It causes the test fail. + fixed by Shota Fukumori. [ruby-dev:42458] + Fri Oct 29 03:04:16 2010 Nobuyoshi Nakada <nobu@r...> * string.c (rb_str_dump): fix expected length. [ruby-core:32935] Index: ruby_1_9_2/version.h =================================================================== --- ruby_1_9_2/version.h (revision 30129) +++ ruby_1_9_2/version.h (revision 30130) @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.2" -#define RUBY_PATCHLEVEL 84 +#define RUBY_PATCHLEVEL 85 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 9 #define RUBY_VERSION_TEENY 1 Index: ruby_1_9_2/test/pathname/test_pathname.rb =================================================================== --- ruby_1_9_2/test/pathname/test_pathname.rb (revision 30129) +++ ruby_1_9_2/test/pathname/test_pathname.rb (revision 30130) @@ -938,6 +938,7 @@ skip "Unix file owner test" if DOSISH with_tmpchdir('rubytest-pathname') {|dir| open("f", "w") {|f| f.write "abc" } + File.chown(-1, Process.gid, "f") assert_equal(true, Pathname("f").grpowned?) } end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/