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 | f7105195286470ff925836cbdbc00e7b4e17ecca (patch) | |
tree | 591ef14613855f3db7ed955cf2aadc7bfd6d8d36 /test | |
parent | a2b27485c1cb4014e41c366e6447382f414360ba (diff) | |
download | ruby-f7105195286470ff925836cbdbc00e7b4e17ecca.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')
-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 |