From 81ece7f0a1139073412cdb49fce3663f1a7a5f3b Mon Sep 17 00:00:00 2001 From: naruse Date: Thu, 26 Nov 2015 14:13:25 +0000 Subject: [PATCH] increase additional nfiles On recent my environment, it must be more than 11. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_io.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index bb878ea148..ad9e4fa08f 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -3081,7 +3081,7 @@ End # try to raise RLIM_NOFILE to >FD_SETSIZE begin - Process.setrlimit(Process::RLIMIT_NOFILE, fd_setsize+10) + Process.setrlimit(Process::RLIMIT_NOFILE, fd_setsize+20) rescue Errno::EPERM exit 0 end