Sha256: c14e20b321daa74209a4845a7d37dd84d9c5a0f635b11742ebbfb96db21afc53
Contents?: true
Size: 534 Bytes
Versions: 52
Compression:
Stored size: 534 Bytes
Contents
require File.expand_path('../../../spec_helper', __FILE__) describe "Process.getpgid" do platform_is_not :windows do it "coerces the argument to an Integer" do Process.getpgid(mock_int(Process.pid)).should == Process.getpgrp end it "returns the process group ID for the given process id" do Process.getpgid(Process.pid).should == Process.getpgrp end it "returns the process group ID for the calling process id when passed 0" do Process.getpgid(0).should == Process.getpgrp end end end
Version data entries
52 entries across 52 versions & 2 rubygems