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

ruby-changes:35670

From: odaira <ko1@a...>
Date: Wed, 1 Oct 2014 17:48:29 +0900 (JST)
Subject: [ruby-changes:35670] odaira:r47752 (trunk): test/fileutils/test_fileutils.rb: AIX does not allow a sticky bit on a regular file.

odaira	2014-10-01 17:48:17 +0900 (Wed, 01 Oct 2014)

  New Revision: 47752

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

  Log:
    test/fileutils/test_fileutils.rb: AIX does not allow a sticky bit on a regular file.

  Modified files:
    trunk/ChangeLog
    trunk/test/fileutils/test_fileutils.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 47751)
+++ ChangeLog	(revision 47752)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Oct  1 17:38:53 2014  Rei Odaira  <Rei.Odaira@g...>
+
+	* test/fileutils/test_fileutils.rb: AIX does not allow
+	  a sticky bit on a regular file.
+
 Wed Oct  1 17:31:41 2014  Eric Hodel  <drbrain@s...>
 
 	* NEWS:  Add RubyGems update.
Index: test/fileutils/test_fileutils.rb
===================================================================
--- test/fileutils/test_fileutils.rb	(revision 47751)
+++ test/fileutils/test_fileutils.rb	(revision 47752)
@@ -996,8 +996,8 @@ class TestFileUtils < Test::Unit::TestCa https://github.com/ruby/ruby/blob/trunk/test/fileutils/test_fileutils.rb#L996
     # FreeBSD ufs and tmpfs don't allow to change sticky bit against
     # regular file. It's slightly strange. Anyway it's no effect bit.
     # see /usr/src/sys/ufs/ufs/ufs_chmod()
-    # NetBSD, OpenBSD and Solaris also denies it.
-    if /freebsd|netbsd|openbsd|solaris/ !~ RUBY_PLATFORM
+    # NetBSD, OpenBSD, Solaris, and AIX also deny it.
+    if /freebsd|netbsd|openbsd|solaris|aix/ !~ RUBY_PLATFORM
       chmod "u+t,o+t", 'tmp/a'
       assert_filemode 07500, 'tmp/a'
       chmod "a-t,a-s", 'tmp/a'

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

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