summaryrefslogtreecommitdiff
path: root/test/ruby/test_file_exhaustive.rb
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-20 16:48:32 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-20 16:48:32 +0000
commit1de486b6001f36525e8cd8d536f7dfd876a7213f (patch)
tree29560fe29b91da535ea6ee0847437b4789aa3c65 /test/ruby/test_file_exhaustive.rb
parent95698ff2a414f6c212377ab321225bdcebd11a9f (diff)
* test/ruby/test_file_exhaustive.rb (setup): workaround for Windows
Vista. * test/ruby/envutil.rb (rubyexec): now Open3.open3 is supported on Windows. * test/ruby/test_process.rb: use ``||'' instead of ``;'' because cmd.exe not support it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_file_exhaustive.rb')
-rw-r--r--test/ruby/test_file_exhaustive.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb
index 274f7bf058..24072472e5 100644
--- a/test/ruby/test_file_exhaustive.rb
+++ b/test/ruby/test_file_exhaustive.rb
@@ -20,7 +20,7 @@ class TestFileExhaustive < Test::Unit::TestCase
end
begin
File.link(@file, @hardlinkfile)
- rescue NotImplementedError
+ rescue NotImplementedError, Errno::EINVAL # EINVAL for Windows Vista
@hardlinkfile = nil
end
end