Skip to content

Commit

Permalink
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/ruby/core/process/waitpid_spec.rb
Original file line number Diff line number Diff line change
@@ -2,4 +2,9 @@

describe "Process.waitpid" do
it "needs to be reviewed for spec completeness"

it "returns nil when the process has not yet completed and WNOHANG is specified" do
pid = spawn("sleep 5")
Process.waitpid(pid, Process::WNOHANG).should == nil
end
end

0 comments on commit ae6deed

Please sign in to comment.