Skip on Windows because it always fails

On Windows, when invoking ruby via runruby.rb, the pid of invoker and of invokee
are diffrent.  Therefore, this spec always fails.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2017-05-12 08:11:35 +00:00
Родитель 1cff8c824a
Коммит 877d1dd1e7
1 изменённых файлов: 10 добавлений и 8 удалений

Просмотреть файл

@ -1,13 +1,15 @@
require File.expand_path('../../../../spec_helper', __FILE__)
describe "Process::Status#pid" do
platform_is_not :windows do
describe "Process::Status#pid" do
before :each do
@pid = ruby_exe("print $$").to_i
end
it "returns the pid of the process" do
$?.pid.should == @pid
end
before :each do
@pid = ruby_exe("print $$").to_i
end
it "returns the pid of the process" do
$?.pid.should == @pid
end
end