From 2b5287d3e89a71db2405c14965fe142cd24b049a Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 6 Dec 2016 07:46:14 +0000 Subject: 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 --- test/ruby/test_file.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.2.3