Skip to content

Commit 7eefa90

Browse files
authored
Merge pull request #1101 from herwinw/RLIMIT_NPTS
Add spec for Process::RLIMIT_NPTS
2 parents bd6ad79 + 22ea4fa commit 7eefa90

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

core/process/constants_spec.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,18 @@
5656
end
5757

5858
platform_is :netbsd, :freebsd do
59-
it "Process::RLIMIT_SBSIZE" do
59+
it "has the correct constant values on NetBSD and FreeBSD" do
6060
Process::RLIMIT_SBSIZE.should == 9 # FIXME: what's it equal?
6161
Process::RLIMIT_AS.should == 10
6262
end
6363
end
6464

65+
platform_is :freebsd do
66+
it "has the correct constant values on FreeBSD" do
67+
Process::RLIMIT_NPTS.should == 11
68+
end
69+
end
70+
6571
platform_is :windows do
6672
it "does not define RLIMIT constants" do
6773
%i[

0 commit comments

Comments
 (0)