mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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:
parent
1cff8c824a
commit
877d1dd1e7
1 changed files with 10 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue