* 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
This commit is contained in:
parent
830125d819
commit
8b8c7fd386
@ -1,3 +1,8 @@
|
||||
Thu Aug 25 01:24:33 2011 Naohisa Goto <ngotogenome@gmail.com>
|
||||
|
||||
* test/fileutils/test_fileutils.rb (test_chmod_symbol_mode): Solaris
|
||||
seems to behave the same as FreeBSD.
|
||||
|
||||
Thu Aug 25 01:11:36 2011 Naohisa Goto <ngotogenome@gmail.com>
|
||||
|
||||
* test/ruby/test_rubyoptions.rb (test_script_from_stdin): slave pty
|
||||
|
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user