aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_find.rb
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-03 04:28:55 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-03 04:28:55 +0000
commitd0a9ee1e86c3cfd410ed39d693bc14431baec420 (patch)
treeca93fefcbd2d402fc4ab51dc4dc18f51dae19797 /test/test_find.rb
parent4e12ff9225f16dbc36e2b3edf0dd48a87b465ecf (diff)
downloadruby-d0a9ee1e86c3cfd410ed39d693bc14431baec420.tar.gz
* test/test_find.rb (TestFind#test_unsearchable_dir): ruby cannot make
directory unreachable by owner on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_find.rb')
-rw-r--r--test/test_find.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_find.rb b/test/test_find.rb
index 8bd67829d3..af0cb2dc95 100644
--- a/test/test_find.rb
+++ b/test/test_find.rb
@@ -130,13 +130,13 @@ class TestFind < Test::Unit::TestCase
Find.find(d, ignore_error: true) {|f| a << f }
assert_equal([d, dir, file], a)
+ skip "no meaning test on Windows" if /mswin|mingw/ =~ RUBY_PLATFORM
a = []
assert_raise_with_message(Errno::EACCES, /#{Regexp.quote(file)}/) do
Find.find(d, ignore_error: false) {|f| a << f }
end
assert_equal([d, dir, file], a)
- skip "no meaning test on Windows" if /mswin|mingw/ =~ RUBY_PLATFORM
assert_raise(Errno::EACCES) { File.lstat(file) }
ensure
File.chmod(0700, dir)