mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
add timeout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
183582ab29
commit
a2f28cb6f5
1 changed files with 3 additions and 1 deletions
|
@ -4,6 +4,8 @@
|
|||
#
|
||||
|
||||
assert_normal_exit(<<'End', '[ruby-dev:37934]')
|
||||
Thread.new { sleep 1; Thread.kill Thread.main }
|
||||
Process.setrlimit(:NPROC, 1)
|
||||
system("ls")
|
||||
fork {}
|
||||
End
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue