diff --git a/core/process/constants_spec.rb b/core/process/constants_spec.rb index 4130bb58a..616c54b8e 100644 --- a/core/process/constants_spec.rb +++ b/core/process/constants_spec.rb @@ -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[