aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-21 08:17:50 +0000
committerduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-21 08:17:50 +0000
commit043ef6fab2d078f4fca093d5c8b2fa1da78a544e (patch)
tree1a81160d601fd8a632449b10fe5c80fc2d6c7fbe /test
parent36727472ee0f7ef023a00830f7354c8474b5dcf3 (diff)
downloadruby-043ef6fab2d078f4fca093d5c8b2fa1da78a544e.tar.gz
* 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
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_io.rb8
1 files changed, 4 insertions, 4 deletions
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'