mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
EPERM by symlink
* test/ruby/test_file_exhaustive.rb (symlinkfile): EPERM can raise on cygwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d802149be3
commit
a8fff36406
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ class TestFileExhaustive < Test::Unit::TestCase
|
|||
@symlinkfile = make_tmp_filename("symlinkfile")
|
||||
begin
|
||||
File.symlink(regular_file, @symlinkfile)
|
||||
rescue NotImplementedError, Errno::EACCES
|
||||
rescue NotImplementedError, Errno::EACCES, Errno::EPERM
|
||||
@symlinkfile = nil
|
||||
end
|
||||
@symlinkfile
|
||||
|
|
Loading…
Add table
Reference in a new issue