diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-29 13:14:59 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-29 13:14:59 +0000 |
commit | d6ec67523643bb0e76f8bacc78116c2ab0a22c35 (patch) | |
tree | 2f3634205b131e7b42c8ba9f72bdba3f13a57602 /test/ruby | |
parent | 14871a378676977bf343464b32cefb5c3fb1796e (diff) | |
download | ruby-d6ec67523643bb0e76f8bacc78116c2ab0a22c35.tar.gz |
* test/ruby/test_process.rb (test_rlimit_nofile): fix r32734.
move return statement again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_process.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 50de9f799d..10888c1ebb 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -56,10 +56,10 @@ class TestProcess < Test::Unit::TestCase end def test_rlimit_nofile - # if limit=0, this test freeze pn OpenBSD + return unless rlimit_exist? with_tmpchdir { write_file 's', <<-"End" - return unless rlimit_exist? + # if limit=0, this test freeze pn OpenBSD limit = /openbsd/ =~ RUBY_PLATFORM ? 1 : 0 result = 1 begin |