1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/bootstraptest
normal 9bb7dfa247 normalize reference to Timeout::Error
From: John Bachir <j@jjb.cc>

* bootstraptest/test_io.rb (assert_finish):
  normalize rescue for Timeout::Error
* lib/net/ftp.rb (Net#read_timeout): ditto for doc
* lib/resolv.rb (Resolv::ResolvTimeout): ditto for subclass
* lib/webrick/httprequest.rb (_read_data): ditto for rescue
* sample/timeout.rb (p timeout): ditto for call
* test/drb/drbtest.rb (test_06_timeout): ditto
* test/ruby/test_readpartial.rb (test_open_pipe): ditto
* test/thread/test_queue.rb (test_queue_thread_raise): ditto
* thread.c (rb_thread_s_handle_interrupt): ditto for doc
  [ruby-core:65481] [misc #10339]

TimeoutError is a legacy constant, Timeout::Error is the canonical constant.
This patch normalizes all code and comments to reference Timeout::Error.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-07 20:00:09 +00:00
..
pending.rb
runner.rb Remove trailing white spaces. 2014-06-21 23:43:50 +00:00
test_attr.rb
test_autoload.rb * bootstraptest/test_autoload.rb, bootstraptest/test_method.rb: 2013-06-13 02:01:42 +00:00
test_block.rb * bootstraptest/test_block.rb: add tests for block with super. 2012-10-10 18:38:01 +00:00
test_class.rb vm.c: initialize defined_module_hash early 2013-10-13 11:59:27 +00:00
test_eval.rb method in instance_eval 2012-08-06 15:31:13 +00:00
test_exception.rb * bootstrap/test_exception.rb: fix a last committed test. 2012-08-08 08:11:12 +00:00
test_finalizer.rb
test_flip.rb
test_flow.rb vm.c: rewrite all catch points 2012-11-02 19:14:24 +00:00
test_fork.rb test_fork.rb: wait signals 2014-06-28 18:12:47 +00:00
test_gc.rb
test_io.rb normalize reference to Timeout::Error 2014-10-07 20:00:09 +00:00
test_jump.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
test_literal.rb fix typo [Fix GH-603] 2014-04-28 15:20:28 +00:00
test_literal_suffix.rb parse.y: parse precisely 2013-08-02 14:14:55 +00:00
test_load.rb
test_marshal.rb
test_massign.rb
test_method.rb FreeBSD 10 SEGVs this less than 4M + 12K bytes. 2014-01-15 01:57:59 +00:00
test_objectspace.rb * vm_core.h (typedef struct rb_vm_struct): create a new 2011-07-10 07:46:00 +00:00
test_proc.rb * vm.c (rb_vm_make_env_object): make Proc object if Env is possible 2012-11-27 11:58:10 +00:00
test_struct.rb
test_syntax.rb revert r37326 "remove string literal concatenation" 2012-10-25 14:06:31 +00:00
test_thread.rb wait until the thread is stopped. 2014-09-21 04:54:46 +00:00