summaryrefslogtreecommitdiff
path: root/test/ruby/test_readpartial.rb
AgeCommit message (Collapse)Author
2015-12-16Add frozen_string_literal: false for all filesnaruse
When you change this to true, you may need to add more tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-07-13use Timeout.timeoutnobu
* time: Object#timeout has been deprecated a long time ago, use Timeout.timeout. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-07normalize reference to Timeout::Errornormal
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
2009-02-02* test/ruby/test_readpartial.rb (make_pipe): readpartial does notnobu
work in text mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24* test: assert_raises has been deprecated since a long time ago.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-09* test/ruby/test_readpartial.rb: tests are working on mswin32/cygwin.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-31 * Merge YARVko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-17* test/ruby/test_readpartial.rb (test_open_pipe, test_with_stdio):ocean
these tests are working now, so turned on. (windows) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-08update readpartial document.akr
don't try read timeout on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-16check constants (Fcntl::F_SETFL, Fcntl::F_GETFL and Fcntl::O_NONBLOCK)akr
instead of trapping NotImplementedError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-16rescue NotImplementedError by fcntl.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-11add test.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e