aboutsummaryrefslogtreecommitdiffstats
path: root/test/fileutils
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-08-28 01:24:36 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-08-28 01:24:36 +0000
commit5dfc455b72707c6e9150b92056d2607a16918f65 (patch)
tree47b505047015fadfe71bf02bce0ba96bd14d3dad /test/fileutils
parent868c98dccfb433772546e9abba935e0625ef310b (diff)
downloadruby-5dfc455b72707c6e9150b92056d2607a16918f65.tar.gz
test: File.symlink needs administrator privilege
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/fileutils')
-rw-r--r--test/fileutils/test_fileutils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb
index 5f1cc41e3a..28488cd27f 100644
--- a/test/fileutils/test_fileutils.rb
+++ b/test/fileutils/test_fileutils.rb
@@ -48,7 +48,7 @@ class TestFileUtils < Test::Unit::TestCase
def check_have_symlink?
File.symlink nil, nil
- rescue NotImplementedError
+ rescue NotImplementedError, Errno::EACCES
return false
rescue
return true