ruby-changes:46024
From: usa <ko1@a...>
Date: Sun, 26 Mar 2017 01:13:17 +0900 (JST)
Subject: [ruby-changes:46024] usa:r58095 (ruby_2_2): merge revision(s) 57589: [Backport #13205]
usa 2017-03-26 01:13:11 +0900 (Sun, 26 Mar 2017) New Revision: 58095 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58095 Log: merge revision(s) 57589: [Backport #13205] parallel.rb: fix intervention * test/lib/test/unit/parallel.rb (_report): send a response and a newline atomically, to get rid of intervention with "p" which runs in a separate thread. Modified directories: branches/ruby_2_2/ Modified files: branches/ruby_2_2/test/lib/test/unit/parallel.rb branches/ruby_2_2/version.h Index: ruby_2_2/version.h =================================================================== --- ruby_2_2/version.h (revision 58094) +++ ruby_2_2/version.h (revision 58095) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_2/version.h#L1 #define RUBY_VERSION "2.2.7" #define RUBY_RELEASE_DATE "2017-03-26" -#define RUBY_PATCHLEVEL 427 +#define RUBY_PATCHLEVEL 428 #define RUBY_RELEASE_YEAR 2017 #define RUBY_RELEASE_MONTH 3 Index: ruby_2_2/test/lib/test/unit/parallel.rb =================================================================== --- ruby_2_2/test/lib/test/unit/parallel.rb (revision 58094) +++ ruby_2_2/test/lib/test/unit/parallel.rb (revision 58095) @@ -151,8 +151,7 @@ module Test https://github.com/ruby/ruby/blob/trunk/ruby_2_2/test/lib/test/unit/parallel.rb#L151 end def _report(res, *args) # :nodoc: - res = "#{res} #{args.pack("m0")}" unless args.empty? - @stdout.puts(res) + @stdout.write(args.empty? ? "#{res}\n" : "#{res} #{args.pack("m0")}\n") end def puke(klass, meth, e) # :nodoc: Property changes on: ruby_2_2 ___________________________________________________________________ Modified: svn:mergeinfo Merged /trunk:r57589 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/