diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-09 02:07:34 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-09 02:07:34 +0000 |
commit | 5ab816f7f7588f605299df7c545efb4545704a13 (patch) | |
tree | 83ad715b469c4dc235babe7de34654dd48a036ef | |
parent | a9026242f2292cc7df06628652f4254c55c37e22 (diff) |
* 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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | test/ruby/test_readpartial.rb | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -1,3 +1,7 @@ +Fri Feb 9 11:03:40 2007 Koichi Sasada <[email protected]> + + * test/ruby/test_readpartial.rb: tests are working on mswin32/cygwin. + Fri Feb 9 05:08:17 2007 Koichi Sasada <[email protected]> * thread.c, thread_pthread.ci, thread_win32.ci (thread_start_func_1): diff --git a/test/ruby/test_readpartial.rb b/test/ruby/test_readpartial.rb index 6bfafc3aa2..c4f9d193f2 100644 --- a/test/ruby/test_readpartial.rb +++ b/test/ruby/test_readpartial.rb @@ -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) } } |