1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/io/nonblock/test_flush.rb (TestIONonblock#test_flush):

rescue some exceptions. [ruby-dev:35638]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2008-08-05 09:04:13 +00:00
parent 1498b668d2
commit 81577c26ee
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Tue Aug 5 18:02:53 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* test/io/nonblock/test_flush.rb (TestIONonblock#test_flush):
rescue some exceptions. [ruby-dev:35638]
Tue Aug 5 16:40:06 2008 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/ftp.rb (chdir): handle 5xx errors correctly.

View file

@ -24,7 +24,11 @@ class TestIONonblock < Test::Unit::TestCase
result << s
end
}
w.flush # assert_raise(IOError, "[ruby-dev:24985]") {w.flush}
begin
w.flush # assert_raise(IOError, "[ruby-dev:24985]") {w.flush}
rescue Errno::EBADF, IOError
# ignore [ruby-dev:35638]
end
assert_nothing_raised {t.join}
}
assert_equal(4097, result.size)