ruby-changes:16059
From: usa <ko1@a...>
Date: Tue, 25 May 2010 16:03:38 +0900 (JST)
Subject: [ruby-changes:16059] Ruby:r28008 (trunk): * test/test_find.rb: skip some tests on Windows.
usa 2010-05-25 16:03:31 +0900 (Tue, 25 May 2010) New Revision: 28008 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28008 Log: * test/test_find.rb: skip some tests on Windows. Modified files: trunk/test/test_find.rb Index: test/test_find.rb =================================================================== --- test/test_find.rb (revision 28007) +++ test/test_find.rb (revision 28008) @@ -91,6 +91,7 @@ end def test_unreadable_dir + skip "no meaning test on Windows" if /mswin|mingw/ =~ RUBY_PLATFORM Dir.mktmpdir {|d| Dir.mkdir(dir = "#{d}/dir") File.open(file = "#{dir}/foo", "w"){} @@ -114,6 +115,7 @@ a = [] Find.find(d) {|f| a << f } 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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/