diff options
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_readpartial.rb | 6 |
1 files changed, 1 insertions, 5 deletions
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) } } |