ruby-changes:63237
From: Yusuke <ko1@a...>
Date: Thu, 1 Oct 2020 13:27:47 +0900 (JST)
Subject: [ruby-changes:63237] ab99a2ac44 (master): spec/ruby/core/process/spawn_spec.rb: skip a test on Android
https://git.ruby-lang.org/ruby.git/commit/?id=ab99a2ac44 From ab99a2ac4412cbaf5ef945b9d90ad0788f6555db Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Thu, 1 Oct 2020 13:25:36 +0900 Subject: spec/ruby/core/process/spawn_spec.rb: skip a test on Android On Android, STDERR seems to be open even its invoker closes it. http://rubyci.s3.amazonaws.com/android29-x86_64/ruby-master/log/20201001T014315Z.fail.html.gz ``` 1) Process.spawn closes STDERR in the child if :err => :close FAILED Expected (59840): "out\nrescued\n" but got: "out\n" ``` diff --git a/spec/ruby/core/process/spawn_spec.rb b/spec/ruby/core/process/spawn_spec.rb index 37a7ab9..a068e05 100644 --- a/spec/ruby/core/process/spawn_spec.rb +++ b/spec/ruby/core/process/spawn_spec.rb @@ -536,7 +536,7 @@ describe "Process.spawn" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/process/spawn_spec.rb#L536 File.read(@name).should == "glarkbang" end - platform_is_not :windows do + platform_is_not :windows, :android do it "closes STDERR in the child if :err => :close" do File.open(@name, 'w') do |file| -> do -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/