diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-28 01:24:36 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-28 01:24:36 +0000 |
commit | 1a8c38e2aac1457afedc026d5a2c1732a65e0aae (patch) | |
tree | 47b505047015fadfe71bf02bce0ba96bd14d3dad /test/pathname | |
parent | 7b2c9630f1a3213a5014890a4c2a02d675119097 (diff) | |
download | ruby-1a8c38e2aac1457afedc026d5a2c1732a65e0aae.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/pathname')
-rw-r--r-- | test/pathname/test_pathname.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pathname/test_pathname.rb b/test/pathname/test_pathname.rb index 53baa5cbc8..4842f96d0f 100644 --- a/test/pathname/test_pathname.rb +++ b/test/pathname/test_pathname.rb @@ -340,7 +340,7 @@ class TestPathname < Test::Unit::TestCase def has_symlink? begin File.symlink(nil, nil) - rescue NotImplementedError + rescue NotImplementedError, Errno::EACCES return false rescue TypeError end |