From 5dfc455b72707c6e9150b92056d2607a16918f65 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 28 Aug 2015 01:24:36 +0000 Subject: test: File.symlink needs administrator privilege git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/pathname/test_pathname.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/pathname') 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 -- cgit v1.2.3