mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
14871a3786
commit
d6ec675236
1 changed files with 2 additions and 2 deletions
|
@ -56,10 +56,10 @@ class TestProcess < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_rlimit_nofile
|
def test_rlimit_nofile
|
||||||
# if limit=0, this test freeze pn OpenBSD
|
return unless rlimit_exist?
|
||||||
with_tmpchdir {
|
with_tmpchdir {
|
||||||
write_file 's', <<-"End"
|
write_file 's', <<-"End"
|
||||||
return unless rlimit_exist?
|
# if limit=0, this test freeze pn OpenBSD
|
||||||
limit = /openbsd/ =~ RUBY_PLATFORM ? 1 : 0
|
limit = /openbsd/ =~ RUBY_PLATFORM ? 1 : 0
|
||||||
result = 1
|
result = 1
|
||||||
begin
|
begin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue