aboutsummaryrefslogtreecommitdiffstats
path: root/test
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
commit4e22416649205105960b671551879a6a62ad423c (patch)
treed2dcbeaec680105be84c8d15a4073711f6ef6a1f /test
parent65946301b2b487398f4df8d55018377fa3644bd9 (diff)
downloadruby-4e22416649205105960b671551879a6a62ad423c.tar.gz
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
Diffstat (limited to 'test')
-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