summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-24 16:41:12 +0000
committerngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-24 16:41:12 +0000
commit8b8c7fd386022f30f846ce7fd4c8224d61118b57 (patch)
treeb0b2c04a738541de433c78d3038d1ac090efbcd8 /test
parent830125d8195a6ac7eaa5e50cb406015db3f0f6b3 (diff)
* test/fileutils/test_fileutils.rb (test_chmod_symbol_mode): Solaris
seems to behave the same as FreeBSD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/fileutils/test_fileutils.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb
index d4068e5c86..f563068eda 100644
--- a/test/fileutils/test_fileutils.rb
+++ b/test/fileutils/test_fileutils.rb
@@ -913,8 +913,8 @@ class TestFileUtils
# 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 and OpenBSD also denies it.
- if /freebsd|netbsd|openbsd/ !~ RUBY_PLATFORM
+ # NetBSD, OpenBSD and Solaris also denies it.
+ if /freebsd|netbsd|openbsd|solaris/ !~ RUBY_PLATFORM
chmod "u+t,o+t", 'tmp/a'
assert_equal 07500, File.stat('tmp/a').mode & 07777
chmod "a-t,a-s", 'tmp/a'