summaryrefslogtreecommitdiff
path: root/bootstraptest/test_io.rb
AgeCommit message (Collapse)Author
2018-09-04bootstraptest update test_io.rb [Bug #15060] [Fix GH-1495]nobu
From: MSP-Greg <greg.mpls@gmail.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-06-27tests: increase timeouts and speedup some slow testsnormal
I'm still using the computer from 2005, so enabling MJIT makes some tests take longer. For test_deadlock_by_signal_at_forking I got it down to 135s to 89s by disabling RubyGems. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-23Drop to support NaCl platform.hsbt
Because NaCl and PNaCl are already sunset status. see https://bugs.chromium.org/p/chromium/issues/detail?id=239656#c160 configure.ac: Patch for this file was provided by @nobu. [Feature #14041][ruby-core:83497][fix GH-1726] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60374 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
2014-06-07bootstraptest/test_{fork,io,thread}.rb: reduce sleep timesnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-29* (lib/tmpdir.rb): Rescue LoadError on etc.so for miniruby.akr
Revert r45707, r45711, r45717. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-24* bootstraptest/test_io.rb: Add etc.so to $" before require 'tmpdir'.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-24revert r45709.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-24* bootstraptest/test_io.rb: Don't use tmpdir because etc.so is notakr
usable from miniruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-06* bootstraptest/test_io.c: add a test for [ruby-dev:46834].yugui
* io.c (rb_cloexec_fcntl_dupfd) Use an emulation with dup(2) when fcntl(2) and/or F_DUPFD is unavailable. Suggested by akr. * configure.in (HAVE_FCNTL): NativeClient does not provide fcntl(2). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-03Fix failures on btest for NativeClient.yugui
* bootstraptest/runner.rb (nacl?): New method to distinguish NaCl corss build. * bootstraptest/test_io.rb: Skip unsupported operations. * bootstraptest/test_literal.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-05* bootstraptest/test_io.rb (megacontent-copy_stream): get rid ofnobu
deadlock. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-18* bootstraptest/test_io.rb: reduced megacontent test.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-25* bootsraptest/test_io.rb: skip the test of io/nonblock on Windows.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21* bootstraptest/test_io.rb: block write may block for long time.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26* bootstraptest/test_io.rb: test for [ruby-dev:38131].nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-28 * bootstraptest/test_io.rb: no need to create real file.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-11* io.c (rb_io_wait_readable, rb_io_wait_writable): check if the filenobu
descriptor is closed. * thread.c (rb_thread_wait_fd_rw): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-21* io.c (argf_set_encoding): uses current_file after check for nextnobu
input. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-14* io.c (io_reopen): check STDIN, STDOUT and STDERR mode according toakr
stdio streams. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-07* io.c (io_reopen): don't change access mode for stdin, stdout andakr
stderr. [ruby-core:15360] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-26remove p.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25* io.c (appendline): move RS comparison to rb_io_getline_1().matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21* bootstraptest/test_fork.rb: skip if fork is not unsupported.ko1
* bootstraptest/test_io.rb: skip if require failed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21* io.c: write() should be in blocking region.ko1
* bootstraptest/test_io.rb, test_knownbug.rb: move a fixed test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-27longer timeout.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-26* bootstraptest/test_{io,marshal}.rb, lib/rubygems/require_paths_builder.rb ↵nobu
test/ruby/test_m17n.rb: set properties. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-23* bootstraptest/test_knownbug.rb: move solved tests.ko1
* bootstraptest/test_io.rb, test_marshal.rb, test_objectspace.rb: ditto. * test/ruby/test_integer.rb, test_regexp.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e