Skip to content

Commit

Permalink
Merge pull request #1101 from herwinw/RLIMIT_NPTS
Browse files Browse the repository at this point in the history
Add spec for Process::RLIMIT_NPTS
  • Loading branch information
andrykonchin authored Oct 29, 2023
2 parents bd6ad79 + 22ea4fa commit 7eefa90
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion core/process/constants_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,18 @@
end

platform_is :netbsd, :freebsd do
it "Process::RLIMIT_SBSIZE" do
it "has the correct constant values on NetBSD and FreeBSD" do
Process::RLIMIT_SBSIZE.should == 9 # FIXME: what's it equal?
Process::RLIMIT_AS.should == 10
end
end

platform_is :freebsd do
it "has the correct constant values on FreeBSD" do
Process::RLIMIT_NPTS.should == 11
end
end

platform_is :windows do
it "does not define RLIMIT constants" do
%i[
Expand Down

0 comments on commit 7eefa90

Please sign in to comment.