summaryrefslogtreecommitdiff
path: root/spec/ruby/core/process/egid_spec.rb
blob: 24dda43804a368df8f601b0c36b7ccf0bde4a58b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require_relative '../../spec_helper'

describe "Process.egid" do
  it "returns the effective group ID for this process" do
    Process.egid.should be_kind_of(Integer)
  end

  it "also goes by Process::GID.eid" do
    Process::GID.eid.should == Process.egid
  end

  it "also goes by Process::Sys.getegid" do
    Process::Sys.getegid.should == Process.egid
  end
end

describe "Process.egid=" do
  it "needs to be reviewed for spec completeness"
end