mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
EPERM by symlink
* test/ruby/test_file.rb (test_realpath_encoding): EPERM can raise on cygwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1f97dd562c
commit
2b5287d3e8
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ class TestFile < Test::Unit::TestCase
|
|||
a = File.join(tmpdir, "x")
|
||||
begin
|
||||
File.symlink(tst, a)
|
||||
rescue Errno::EACCES
|
||||
rescue Errno::EACCES, Errno::EPERM
|
||||
skip "need privilege"
|
||||
end
|
||||
assert_equal(File.join(realdir, tst), File.realpath(a))
|
||||
|
|
Loading…
Reference in a new issue