diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-06 06:16:57 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-06 06:16:57 +0000 |
commit | a8fff364061bf768df753400c32802de2040285f (patch) | |
tree | 591ef14613855f3db7ed955cf2aadc7bfd6d8d36 /test/ruby | |
parent | d802149be320b35ea1ef7bc037fb1ed543804513 (diff) | |
download | ruby-a8fff364061bf768df753400c32802de2040285f.tar.gz |
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
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_file_exhaustive.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb index 35bbed4e61..2987910c32 100644 --- a/test/ruby/test_file_exhaustive.rb +++ b/test/ruby/test_file_exhaustive.rb @@ -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 |