mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test/fileutils/test_fileutils.rb: AIX does not allow a sticky bit on a regular file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1c916105fd
commit
f17b95f21c
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Oct 1 17:38:53 2014 Rei Odaira <Rei.Odaira@gmail.com>
|
||||
|
||||
* 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@segment7.net>
|
||||
|
||||
* NEWS: Add RubyGems update.
|
||||
|
|
|
@ -996,8 +996,8 @@ class TestFileUtils < Test::Unit::TestCase
|
|||
# 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'
|
||||
|
|
Loading…
Add table
Reference in a new issue