$OpenBSD: patch-test_ruby_test_process_rb,v 1.3 2011/11/08 23:38:57 jeremy Exp $
--- test/ruby/test_process.rb.orig	Wed Jul 27 17:16:58 2011
+++ test/ruby/test_process.rb	Wed Jul 27 17:17:00 2011
@@ -61,7 +61,7 @@ class TestProcess < Test::Unit::TestCase
       write_file 's', <<-"End"
 	result = 1
 	begin
-	  Process.setrlimit(Process::RLIMIT_NOFILE, 0)
+	  Process.setrlimit(Process::RLIMIT_NOFILE, 1)
 	rescue Errno::EINVAL
 	  result = 0
 	end
