aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_file.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_file.rb')
-rw-r--r--test/ruby/test_file.rb2
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))