mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/test_readpartial.rb: tests are working on mswin32/cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a9026242f2
commit
5ab816f7f7
2 changed files with 5 additions and 5 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Feb 9 11:03:40 2007 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* test/ruby/test_readpartial.rb: tests are working on mswin32/cygwin.
|
||||
|
||||
Fri Feb 9 05:08:17 2007 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* thread.c, thread_pthread.ci, thread_win32.ci (thread_start_func_1):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require 'test/unit'
|
||||
require 'timeout'
|
||||
#require 'fcntl'
|
||||
require 'fcntl'
|
||||
|
||||
class TestReadPartial < Test::Unit::TestCase
|
||||
def make_pipe
|
||||
|
@ -48,8 +48,6 @@ class TestReadPartial < Test::Unit::TestCase
|
|||
w << 'abc'
|
||||
assert_equal('ab', r.readpartial(2))
|
||||
assert_equal('c', r.readpartial(2))
|
||||
assert false, "TODO: doesn't work on cygwin" if /cygwin/ =~ RUBY_PLATFORM
|
||||
assert false, "TODO: doesn't work on mswin32" if /mswin32/ =~ RUBY_PLATFORM
|
||||
assert_raises(TimeoutError) {
|
||||
timeout(0.1) { r.readpartial(2) }
|
||||
}
|
||||
|
@ -64,8 +62,6 @@ assert false, "TODO: doesn't work on mswin32" if /mswin32/ =~ RUBY_PLATFORM
|
|||
assert_equal("de", r.readpartial(2))
|
||||
assert_equal("f\n", r.readpartial(4096))
|
||||
assert_equal("ghi\n", r.readpartial(4096))
|
||||
assert false, "TODO: doesn't work on cygwin" if /cygwin/ =~ RUBY_PLATFORM
|
||||
assert false, "TODO: doesn't work on mswin32" if /mswin32/ =~ RUBY_PLATFORM
|
||||
assert_raises(TimeoutError) {
|
||||
timeout(0.1) { r.readpartial(2) }
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue