summaryrefslogtreecommitdiff
path: root/test/lib/test
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-31 13:30:48 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-31 13:30:48 +0000
commit8784787623067cfa29619d711e161c4941bb4699 (patch)
tree16d9bca2fc1f0b59d9e29171ff57621ec5e1595b /test/lib/test
parente00ac16763a74db7a7bc3a0da4129c9f32029c98 (diff)
don't remove test results
r46180 removed dots but they express the result of tests: don't remove them. Moreover I don't understand why `read` is still used. http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20140530T200301Z.fail.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/lib/test')
-rw-r--r--test/lib/test/unit/parallel.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/lib/test/unit/parallel.rb b/test/lib/test/unit/parallel.rb
index 7dac4bd..ea809f2 100644
--- a/test/lib/test/unit/parallel.rb
+++ b/test/lib/test/unit/parallel.rb
@@ -35,9 +35,7 @@ module Test
th = Thread.new do
begin
- while buf = (self.verbose ? i.gets : (i.readpartial(1024) || i.read(5)))
- buf.force_encoding(Encoding::ASCII_8BIT)
- buf.sub!(/\A\n?\.+(?!\z)/, '')
+ while buf = (self.verbose ? i.gets : i.readpartial(1024))
_report "p", buf
end
rescue IOError