summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-26 14:13:25 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-26 14:13:25 +0000
commit81ece7f0a1139073412cdb49fce3663f1a7a5f3b (patch)
treed2dcbeaec680105be84c8d15a4073711f6ef6a1f
parent778f32a153a9e419592146bd82300b6f158940f9 (diff)
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
-rw-r--r--test/ruby/test_io.rb2
1 files changed, 1 insertions, 1 deletions
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