diff options
-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)) |