mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
File#lchmod test removed because the method is not exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
786e7aba7f
commit
4500a5207d
1 changed files with 0 additions and 2 deletions
|
@ -309,8 +309,6 @@ class TestFileExhaustive < Test::Unit::TestCase
|
||||||
return if /(mswin|bccwin|mingw|emx)/ =~ RUBY_PLATFORM
|
return if /(mswin|bccwin|mingw|emx)/ =~ RUBY_PLATFORM
|
||||||
assert_equal(1, File.lchmod(0444, @file))
|
assert_equal(1, File.lchmod(0444, @file))
|
||||||
assert_equal(0444, File.stat(@file).mode % 01000)
|
assert_equal(0444, File.stat(@file).mode % 01000)
|
||||||
assert_equal(0, File.new(@file).lchmod(0222))
|
|
||||||
assert_equal(0222, File.stat(@file).mode % 01000)
|
|
||||||
File.lchmod(0600, @file)
|
File.lchmod(0600, @file)
|
||||||
assert_raise(Errno::ENOENT) { File.lchmod(0600, @nofile) }
|
assert_raise(Errno::ENOENT) { File.lchmod(0600, @nofile) }
|
||||||
rescue NotImplementedError
|
rescue NotImplementedError
|
||||||
|
|
Loading…
Add table
Reference in a new issue