ruby-changes:20686
From: naruse <ko1@a...>
Date: Fri, 29 Jul 2011 17:01:55 +0900 (JST)
Subject: [ruby-changes:20686] naruse:r32734 (trunk): Fix r32731: position of definition.
naruse 2011-07-29 17:01:45 +0900 (Fri, 29 Jul 2011) New Revision: 32734 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32734 Log: Fix r32731: position of definition. Modified files: trunk/test/ruby/test_process.rb Index: test/ruby/test_process.rb =================================================================== --- test/ruby/test_process.rb (revision 32733) +++ test/ruby/test_process.rb (revision 32734) @@ -56,11 +56,11 @@ end def test_rlimit_nofile - return unless rlimit_exist? - limit = /openbsd/ =~ RUBY_PLATFORM ? 1 : 0 # if limit=0, this test freeze pn OpenBSD with_tmpchdir { write_file 's', <<-"End" + return unless rlimit_exist? + limit = /openbsd/ =~ RUBY_PLATFORM ? 1 : 0 result = 1 begin Process.setrlimit(Process::RLIMIT_NOFILE, limit) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/