diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-06 07:46:14 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-06 07:46:14 +0000 |
commit | 2b5287d3e89a71db2405c14965fe142cd24b049a (patch) | |
tree | 78663078c5938f70979c67b4304eb42ba74d3f43 | |
parent | 1f97dd562cb07e1e27541a6484acf0c1ad5eab0d (diff) |
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
-rw-r--r-- | test/ruby/test_file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_file.rb b/test/ruby/test_file.rb index cdbc19c0d4..58a4240391 100644 --- a/test/ruby/test_file.rb +++ b/test/ruby/test_file.rb @@ -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)) |