From 0f8a24a706e1e598a0e4bfaff3df0e0f8fc88d8c Mon Sep 17 00:00:00 2001 From: duerst Date: Tue, 21 Jun 2016 08:17:50 +0000 Subject: * test/ruby/test_io.rb: Skip test_readpartial_with_not_empty_buffer, test_read_buffer_error, test_read_unlocktmp_ensure, test_readpartial_unlocktmp_ensure, and test_sysread_unlocktmp_ensure on cygwin, because these tests repeatedly hang. This makes test_io.rb complete in finite time on cygwin. * ChangeLog: Fix test_in.rb -> test_io.rb (two instances). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_io.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/ruby') diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index 9033c375cb..300217be07 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -1227,7 +1227,7 @@ class TestIO < Test::Unit::TestCase t.value assert_equal("", s) end - end + end if /cygwin/ !~ RUBY_PLATFORM def test_read pipe(proc do |w| @@ -3173,7 +3173,7 @@ End assert_nothing_raised(RuntimeError, bug8669) { str.clear } assert_raise(RuntimeError) { t.join } } - end + end if /cygwin/ !~ RUBY_PLATFORM def test_readpartial_unlocktmp_ensure bug8669 = '[ruby-core:56121] [Bug #8669]' @@ -3187,7 +3187,7 @@ End assert_nothing_raised(RuntimeError, bug8669) { str.clear } assert_raise(RuntimeError) { t.join } } - end + end if /cygwin/ !~ RUBY_PLATFORM def test_readpartial_bad_args IO.pipe do |r, w| @@ -3212,7 +3212,7 @@ End assert_nothing_raised(RuntimeError, bug8669) { str.clear } assert_raise(RuntimeError) { t.join } } - end + end if /cygwin/ !~ RUBY_PLATFORM def test_exception_at_close bug10153 = '[ruby-core:64463] [Bug #10153] exception in close at the end of block' -- cgit v1.2.3