diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 467c5bf163..59f699931b 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -1522,6 +1522,7 @@ class TestProcess < Test::Unit::TestCase rescue NotImplementedError else assert_kind_of(Integer, max) + assert_predicate(max, :positive?) skip "not limited to NGROUPS_MAX" if /darwin/ =~ RUBY_PLATFORM gs = Process.groups assert_operator(gs.size, :<=, max)